Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45584

Can't instantiate multiple caches of same definition with different identifiers

    XMLWordPrintable

    Details

      Description

      If you have a cache store with identifiers, you can't instantiate multiple multiple cache instances with different identifiers within the same page load. This is because the factory only uses the component and area to identify if it is reusing a cache.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mr-russ Russell Smith
              Reporter:
              emerrill Eric Merrill
              Peer reviewer:
              Mark Nelson
              Integrator:
              David Monllaó
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/May/17