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

Restricted activity does not change from hidden.

    XMLWordPrintable

    Details

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

      1. Turn on conditional activities and use AJAX mode.
      2. Visit a course and create an activity that is set 'visible to students' but has a date restriction.
      3. Visit the course page and look at the eye icon next to the activity.

      EXPECTED:

      The activity is greyed out to indicate that it is restricted, but the eye icon should be shown as 'open' eye because the activity is not hidden from students via the eye/visibility option.

      BUG:

      When using AJAX mode the eye icon is shown as 'closed' eye which is incorrect.

      Show
      1. Turn on conditional activities and use AJAX mode. 2. Visit a course and create an activity that is set 'visible to students' but has a date restriction. 3. Visit the course page and look at the eye icon next to the activity. EXPECTED: The activity is greyed out to indicate that it is restricted, but the eye icon should be shown as 'open' eye because the activity is not hidden from students via the eye/visibility option. BUG: When using AJAX mode the eye icon is shown as 'closed' eye which is incorrect.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE

      Description

      If you restrict an activity by some condition, then click on the eye icon in the course list to 'show' the activity, then refresh the page it will be set back to hidden.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Nov/12