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

Course page: Text greyed when conditional activity available

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-40320-master
    • Hide
      1. In advanced features, turn on completion and conditional availability.
      2. Create new course with default settings except turn on completion.
      3. Create a new Page in the course with default settings, manual completion.
      4. Create a new Label with default settings except under 'Restrict access' set it to require the Page to be complete. (Leave it as 'show greyed out' when not available.)
      5. Log in as an enrolled student
      6. Make sure the label is greyed out and there is text that says it isn't available until you complete the page.
      7. Mark Page as completed
      8. Make sure the label is no longer greyed out and the 'not available yet' text disappears.
      Show
      In advanced features, turn on completion and conditional availability. Create new course with default settings except turn on completion. Create a new Page in the course with default settings, manual completion. Create a new Label with default settings except under 'Restrict access' set it to require the Page to be complete. (Leave it as 'show greyed out' when not available.) Log in as an enrolled student Make sure the label is greyed out and there is text that says it isn't available until you complete the page. Mark Page as completed Make sure the label is no longer greyed out and the 'not available yet' text disappears.

      Clearer steps to reproduce (from clean MOODLE_25_STABLE install):

      0. In advanced features, turn on completion and conditional availability.
      1. Create new course with default settings except turn on completion.
      2. Create a new Page in the course with default settings.
      3. Create a new Label with default settings except under 'Restrict access' set it to require the Page to be complete. (Leave it as 'show greyed out' when not available.)
      4. Enrol a test account as student in course.
      5. Log out.
      6. Log in using the username/password of the test account.

      EXPECTED:

      The label is greyed out and there is text that says it isn't available until you complete the page.

      7. Click the button next to the Page.

      EXPECTED:

      The label is no longer greyed out and the 'not available yet' text disappears.

      BEFORE FIX:

      The text disappears as expected, but the label remains greyed out.

            quen Sam Marshall
            asads Andrew Sadler
            Mary Evans Mary Evans
            Marina Glancy Marina Glancy
            Rajesh Taneja Rajesh Taneja
            Votes:
            12 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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