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

hook_civicrm_managed leaves stale data

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Core CiviCRM
    • Labels:

      Description

      Steps:

      1) Create a module or extension
      2) Implement hook_civicrm_managed to define an entity 'foo'
      3) Rebuild
      4) Modify hook_civicrm_managed to remove entity 'foo'
      5) Rebuild
      6) Observe: 'foo' is still in the database

      This is not supposed to happen – there was an oversight in the relevant unit-test which allowed this to go unnoticed.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: