CRM-17842 hook_custom called twice for custom field on address

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      hook_custom seems to be called twice after saving information to a custom field that is attached to the address entity.

      Steps to recreate:

      • Add a custom field to addresses
      • Create a hook implementation that prints the params when the hook is called
      • Add an address, adding a value to the custom field
      • View the printed params, notice that the hook imeplementation is called twice, with slightly different params (screenshot attached)

        Attachments

          Activity

          [CRM-17842] hook_custom called twice for custom field on address
          John K. added a comment -

          Error on my part, please ignore!

            People

            • Assignee:
              Unassigned
              Reporter:
              John K.

              Dates

              • Created:
                Updated:
                Resolved: