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

menu initialization is too optimistic about its cache

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.4
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      See patch CRM-8959, where this line appears:

      CRM_Core_Menu::$_items = null;
      

      I am initializing the menu system two or more times in a php session (using SimpleTest), and need to force a cache reload. My opinion is that CRM_Core_Menu should make quick check to see whether cached menu items are still valid.

      I'd be happy to write this patch.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              adamw Adam Wight
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: