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

cachestore_mongodb::get_many() is incomplete on implementing 'extendedmode' support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.4, 2.5, 2.6.6, 2.7.3, 2.8.1, 2.9
    • Caching
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • 37072-29
    • Hide
      1. Run unit tests they cover it thoroughly

      Manual test as well:

      1. Get mongodb + the php ext installed if you don't have it already.
      2. Log in as an admin
      3. Create a new mongodb cache store and set its advanced extended keys mode on.
      4. Map the new cache store instance as the default application cache store OR map it to a highly used cache definition such as language strings.
      5. Browse the site a bit and check it works as expected.

      Manual behat (sorry has to be done).

      1. Apply the patch on MDL-45699
      2. Set $CFG->altcacheconfig = '/tmp/moodle.cache'; in your config.php
      3. Run behat init
      4. Log into your behat site as admin
      5. Configure a MongoDB cache store instance and set it to use extended mode.
      6. Map the cache store instance as the default application cache.
      7. Run the full behat suite. (I did this overnight and it took 503m13.697s)
      Show
      Run unit tests they cover it thoroughly Manual test as well: Get mongodb + the php ext installed if you don't have it already. Log in as an admin Create a new mongodb cache store and set its advanced extended keys mode on. Map the new cache store instance as the default application cache store OR map it to a highly used cache definition such as language strings. Browse the site a bit and check it works as expected. Manual behat (sorry has to be done). Apply the patch on MDL-45699 Set $CFG->altcacheconfig = '/tmp/moodle.cache'; in your config.php Run behat init Log into your behat site as admin Configure a MongoDB cache store instance and set it to use extended mode. Map the cache store instance as the default application cache. Run the full behat suite. (I did this overnight and it took 503m13.697s)

      It seems that MongoDB store implementation misses the definition of get_many_extendedmode_query() as well as to evaluate $in.

            samhemelryk Sam Hemelryk
            matteo Matteo Scaramuccia
            David Monllaó David Monllaó
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.