Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3518

Clear navigation cache when upgrading plugins from staff UI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When upgrading a plugin via the Staff UI, it's possible that the upgraded plugins added new actions to the navigation. However, they will not appear after an upgrade. The staff groups would have to be re-saved in the UI for this to occur.

      Instead, we should update the system to clear the cache any time a plugin is upgraded via the UI. Ideally, the navigation should be cleared for every company the plugin is apart of.

      This probably should occur from the controller where the action is performed rather than PluginManager::upgrade since that method is called via the Blesta upgrade script as well, which already clears the navigation cache afterward.

      It would also be great if we could abstract this cross-cutting functionality into a new /core/ class that can be used to replace all existing locations where we perform similar cache clearing for the nav.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 16 minutes
              1h 16m

                Agile