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

get_fast_modinfo fails on 11th course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.7
    • Component/s: Course
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When $cache exceeds MAX_MODINFO_CACHE_SIZE in get_fast_modinfo(), it gets passed through array_shift which resets the keys on the cache resulting in get_fast_modinfo returning NULL for the 11th course and every one after.

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            bushido Mark Nielsen
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Nov/09