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

can't choose my memcache store instance for session on editmodemappings form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4.4
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      after creating an instance of memcache store, I can't choose it for session in the form /cache/admin.php?action=editmodemapping.

      in /cache/forms.php when preparing options for the 3 select box (application, session and request) , I found a new condition that prevent session to be applied to memcache store :
      if ($enabled && ($mode !== cache_store::MODE_SESSION || $store['supports']['searchable'])) {
      instead of only if ($enabled) {

      Is it normal or is it a regression bug?

      Does memcache store really can be applied on session ?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              cperves Céline Perves
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: