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

Store fields course.modinfo and sectioncache in MUC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      Test that there are no regressions, no UI change and performance win.

      Enable conditional availability on site and on some modules.
      For quick regressions check course view page, /my/ page, course listings

      1. Create module by drag-and-dropping file on the course page
      2. Create instance of 3prd party module and then uninstall module, make sure you can view the course afterwards

      MNET test

      1. Create two sites with MNET authentication, create remote course
      2. On one site do some actions with the course
      3. Synchronise logs
      4. Make sure you can see the logs from remote course
      Show
      Test that there are no regressions, no UI change and performance win. Enable conditional availability on site and on some modules. For quick regressions check course view page, /my/ page, course listings Create module by drag-and-dropping file on the course page Create instance of 3prd party module and then uninstall module, make sure you can view the course afterwards MNET test Create two sites with MNET authentication, create remote course On one site do some actions with the course Synchronise logs Make sure you can see the logs from remote course
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Epic Link:
    • Pull Master Branch:
      wip-MDL-41436-master
    • Sprint:
      BACKEND Sprint 4

      Description

      1. Add DB field course.cacherev
      2. Store the cached course information in MUC
      3. Allow retrieving user-independent course cache - get_fast_modinfo() for userid = -1
      4. Make sure no code accesses fields course.modinfo and course.sectioncache
      5. Remove DB fields course.modinfo and course.sectioncache

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Petr Skoda Petr Skoda
              Integrator:
              Sam Hemelryk Sam Hemelryk
              Tester:
              Rajesh Taneja Rajesh Taneja
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13