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

Error when toggling activity manual completion state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.3
    • Activity completion
    • MOODLE_33_STABLE

      Replication steps

      1. Add two activities (A, B) with manual completion
      2. Set the activity B to be unavailable until activity A is complete
      3. Set activity B to be visible, even when unavailable
      4. Login as student
      5. Visit the course and mark B as complete (A should still be incomplete)

      Actual

      • An error shows up

      Expected

      • The button to mark the activity B as complete should not be displayed as the user doesn't have access to it.

        1. activities_restricted.png
          13 kB
          Mark Nelson
        2. after.png
          72 kB
          Frédéric Massart
        3. before.png
          11 kB
          Frédéric Massart

            Unassigned Unassigned
            fred Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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