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

Conditional activity status not updated in navigation block until after page refresh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.0.2
    • Restrict access
    • MOODLE_20_STABLE

      ==Steps==
      1. Set up the following (as 'page' resources)

      • page1 (complete when viewed by student)
      • page2 (visible when page1 is complete)
      • page3 (no special conditions)

      2. Log in as a student
      3. click on the 'page1' link in the course, then look at the navigation block.

      ==Expected result==
      Navigation block looks like this:

      • page1
      • page2
      • page3
        (page2 should be visible at this point as the condition for it being available (page1 being viewed) has been met)

      ==Actual result==
      Navigation block looks like this:

      • page1
      • page3
        (page2 not shown)

      Clicking on page3, clears out the 'get_fast_modinfo' cache and correctly updates the navigation block to this:

      • page1
      • page2
      • page3

            quen Sam Marshall
            davosmith Davo Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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