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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Deleting Smart group formed from a Saved Search leaves cruft in db
Pages: [1]

Author Topic: Deleting Smart group formed from a Saved Search leaves cruft in db  (Read 1361 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Deleting Smart group formed from a Saved Search leaves cruft in db
August 11, 2009, 12:48:26 am
If one uses Search Builder to create a search (I used IN operators), then saves search using the New Smart Group action,  then deletes the Group under Manage Group, there are records in civicrm_mapping, civicrm_mapping_field, and civicrm_saved_search, though the civicrm_group record is deleted. I'm not sure, but it also appears that there are circular foreign key references between civicrm_mapping and civicrm_saved_search, preventing the records from deleting. But perhaps there are reasonable use cases for not deleting the saved search underlying the Smart Group that I'm not thinking of.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Deleting Smart group formed from a Saved Search leaves cruft in db

This forum was archived on 2017-11-26.