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

"Available, but hidden on course page" in Label

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-74887-master
    • Hide
      Before patch
      1. Make sure the Allow stealth activities admin setting is enabled. (See Stealth activities for more info)
      2. Create a course
      3. Add a Label resource label1.
      4. Expand "Common module settings"
      5. Set the "Availability" dropdown menu to Make available but not shown on course page.
      6. Create two more label resources label2 (Hide from students), label3 (Show on course page)
      7. Create a Choice activity
      8. Set its availability to Make available but not shown on course page.
      After the patch
      1. Check out the branch with the patch applied.
      2. Upgrade the site
      3. Go to the course.
      4. Confirm that label1 is now "Hidden from students"
      5. Confirm that label2 is still "Hidden from students"
      6. Confirm that label3 is still visible on the course homepage (simply no indication about visibility)
      7. Confirm that the choice activity is still set to "Available but not shown on course homepage"
      8. Create another Label resource
      9. Check the Availability dropdown.
      10. Confirm that it only contains "Show on course page" and "Hide from students".
      11. Create another Choice activity
      12. Confirm that in addition to "Show on course page" and "Hide from students", it also contains Make available but not shown on course page.
      Show
      Before patch Make sure the Allow stealth activities admin setting is enabled. (See Stealth activities for more info) Create a course Add a Label resource label1. Expand "Common module settings" Set the " Availability " dropdown menu to Make available but not shown on course page . Create two more label resources label2 (Hide from students), label3 (Show on course page) Create a Choice activity Set its availability to Make available but not shown on course page . After the patch Check out the branch with the patch applied. Upgrade the site Go to the course. Confirm that label1 is now "Hidden from students" Confirm that label2 is still "Hidden from students" Confirm that label3 is still visible on the course homepage (simply no indication about visibility) Confirm that the choice activity is still set to " Available but not shown on course homepage " Create another Label resource Check the Availability dropdown. Confirm that it only contains "Show on course page" and "Hide from students". Create another Choice activity Confirm that in addition to " Show on course page " and " Hide from students ", it also contains Make available but not shown on course page .

      I have the following problem (4.0.1+):

      I have "allowstealth" set to "Yes".
      I create a new Label
      I see (and select) "Available, but hidden on course page" in the other settings.
      I choose "Save and go to course

      Result: The Label is "Available, but hidden on course page". In the context menu (three dots) there are the entries "Show" and "Make unavailable" - so far all is well.

      I select "Do not make available" - the Label is "Hidden for participants" - correct.

      But:

      In the context menu (three dots) the entry "Make available" does not exist anymore.
      In the other settings of the Label the option "Available, but hidden on course page" has also disappeared. So I can't make the text Label available anymore.

      With the next Label the same ...

      The Page or file on the other hand work fine ...

        1. MDL-74887_master_after_1.png
          MDL-74887_master_after_1.png
          87 kB
        2. MDL-74887_master_after_2.png
          MDL-74887_master_after_2.png
          102 kB
        3. MDL-74887_master_after_3.png
          MDL-74887_master_after_3.png
          115 kB
        4. MDL-74887_master_before.png
          MDL-74887_master_before.png
          89 kB
        5. MDL-74887_v311_after_1.png
          MDL-74887_v311_after_1.png
          98 kB
        6. MDL-74887_v311_after_2.png
          MDL-74887_v311_after_2.png
          116 kB
        7. MDL-74887_v311_after_3.png
          MDL-74887_v311_after_3.png
          112 kB
        8. MDL-74887_v311_before.png
          MDL-74887_v311_before.png
          101 kB
        9. MDL-74887_v400_after_1.png
          MDL-74887_v400_after_1.png
          88 kB
        10. MDL-74887_v400_after_2.png
          MDL-74887_v400_after_2.png
          113 kB
        11. MDL-74887_v400_after_3.png
          MDL-74887_v400_after_3.png
          108 kB
        12. MDL-74887_v400_before.png
          MDL-74887_v400_before.png
          89 kB

            stefan.hanauska Stefan Hanauska
            thomas.unkelbach Thomas Unkelbach
            PhMemmel PhMemmel
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 41 minutes
                2h 41m

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