Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20176

Smart group rebuild does not work for parent groups

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds
    • Verified?:
      No

      Description

      GroupContactCache.php does not create or update the smart group cache for parent groups, i.e. groups with condition (children IS NOT NULL).

      It works correctly for dynamic groups (saved_search_id IS NOT NULL).

      Steps to reproduce:
      1) Clear alle the caches of civicrm
      2) Create a parent group of some child group
      3) Add a contact to the child group
      4) Open the contact and go to the tab "groups" and open the list of "dynamic groups"
      5) The parent group is not shown in this list

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martin_rotter Martin Rotter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: