CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can I delete Hidden Smart Groups? How?
Pages: [1]

Author Topic: Can I delete Hidden Smart Groups? How?  (Read 575 times)

DougAnderson

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Can I delete Hidden Smart Groups? How?
February 17, 2013, 05:07:02 pm
I am using search builder to create mailings. I've had a lot of trouble in the past and I have created hidden smart groups numbered 1-25 (listed in the groups database).

Recently I went to do another mailing in the same way and for some reason it was trying to create new hidden smart groups with number 5-8 which was generated a fatal error - DB already exists. I can work around this by naming the smart group and then using it that way, but can I delete the Hidden smart groups.

There doesn't seem to be any way to delete them within civirm so I am looking at phpmyadmin

The information in the groups DB seems to point to the groups_contact_cache which has been cleared and has no data, so I would assume that the data is in various mailing files. Can I safely delete the entries for the hidden groups and free up those numbers. If not, any suggestions.
Doug

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can I delete Hidden Smart Groups? How?
February 17, 2013, 09:48:44 pm

1. would be good if you can check and trace the issue as to why it is generating a smart group with an older id. might be a larger underlying problem

2. You can delete the hidden groups (might have some effect on older mailing reports). There is also a related entry in civicrm_saved_search with regard to a smart group, but most likely that has a mysql "on delete cascade" clause

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Can I delete Hidden Smart Groups? How?

This forum was archived on 2017-11-26.