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

Call clearModuleList() after clearing cache in CRM_Core_Invoke::rebuildMenuAndCaches

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 4.4.14, 4.5, 4.6
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      In CRM_Core_Invoke::rebuildMenuAndCaches, $config->clearModuleList() is being called before the cache is cleared. It seems to me that the cache should be cleared before rebuilding the extension list. I'm assuming that $config->clearModuleList() is also rebuilding the paths to each extension and if that's true then it might be prematurely building the paths before cache as the latest server paths.

      I could be wrong, in which case this issue is not relevant.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              herb@freeform Herb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: