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

Purging cache definitions that require identifiers does no work.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.5
    • Caching
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-39525-m25
    • Easy
    • Hide
      1. Run unit tests in cache/tests/cache_test.php.
      2. Log in as an admin.
      3. Browse to Settings > plugins > caching > configuration.
      4. Purge the lang string definition.
      5. Purge the database meta definition.
      6. Check you don't get any fatal errors!
      Show
      Run unit tests in cache/tests/cache_test.php. Log in as an admin. Browse to Settings > plugins > caching > configuration. Purge the lang string definition. Purge the database meta definition. Check you don't get any fatal errors!

      To reproduce:

      1. Log in as an admin.
      2. Browse to Settings > Plugins > Caches > Configuration.
      3. Locate the database meta definition in the definitions table.
      4. Click Purge under its action links.

      Coding error detected, it must be fixed by a programmer: Identifier required for cache has not been provided: dbfamily

      More information about this error

      Debug info:
      Error code: codingerror
      Stack trace:
      line 760 of /cache/classes/definition.php: coding_exception thrown
      line 261 of /cache/classes/loaders.php: call to cache_definition->set_identifiers()
      line 178 of /cache/classes/factory.php: call to cache->set_identifiers()
      line 169 of /cache/classes/loaders.php: call to cache_factory->create_cache_from_definition()
      line 293 of /cache/classes/helper.php: call to cache::make()
      line 212 of /cache/admin.php: call to cache_helper::purge_by_definition()

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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