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

improve post hook implementation in EntityTag.php

    Details

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

      Description

      attached patch improves a few things in how Core/BAO/EntityTag.php implements the post hook

      • it ensures post hook is called for all instances of add/delete (this may have already been patched in 3.4/4.0)
      • it alters the array of contact ids passed to the hook so that only those ids acted upon are passed – not the full list of ids from the search results
      • it adds additional conditions to single contact tag remove so that removal only is fired if tag previously existed

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: