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

Restricted activity does not change from hidden.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.5
    • 2.2.6
    • JavaScript
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • 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.

    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

              rajeshtaneja Rajesh Taneja
              markn Mark Nelson
              Mark Nelson Mark Nelson
              Dan Poltawski Dan Poltawski
              Rossiani Wijaya Rossiani Wijaya
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12