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

Hiding a topic with availability restrictions results in a stale lock icon in the section header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.0
    • Course
    • 2
    • HQ 2023 Sprint I4.2 Moppies

      To replicate:

      1. Create a topic in a course (as an editing teacher)
      2. Add an availability restriction which makes the topic available after some date in the future (please use this method, it's important that we don't deviate as some availability methods result in no lock in the UI)
      3. Now, hide the topic.
      4. Expected: The lock icon next to the section name disappears too, since the hidden state is taking priority right now.
        Actual: The lock remains in the DOM. A page reload will restore the correct view.

      See attached screenshot for an example of the above:

            laurent.david@moodle.com Laurent David
            jaked Jake Dallimore
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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