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

Pseudoconstant flush function messes up tests

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      CRM_Core_PseudoConstant::flush('activityType'); sets activityType to null rather than array(); causing various fails.

      Have removed instances from tests against this ticket. Ideally need a test flush function that flushes them all and / or improvement on flush function

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: