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

Resource created in a hidden section does not unhide when section is unhidden.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.3.5, 2.4.2
    • Course
    • MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • git@github.com:damyon/moodle.git
    • MDL-37430-master
    • Hide
      1. Set the first section in a new course to visible and the second section to hidden.
      2. Add 2 activities to each (using the activity chooser - not drag and drop).
      3. Hide 1 activity in the first section.
      4. Hide the first section
      5. Show the first section
      6. Verify that the activities go back to the visible state they were in before the section was hidden.
      7. Unhide the second section, verify the activities in that section become unhidden
      8. Hide the third section,
      9. Move a visible activity into the third section
      10. Unhide the third section
      11. Verify the activity is made visible.
      12. Hide the fourth section
      13. Drag a hidden activity to the fourth section
      14. Drag a visible activity to the fourth section
      15. Verify both activities are hidden
      16. Unhide the section
      17. Verify only one activity in the fourth section is visible
      18. Hide the fifth section
      19. Drag a hidden activity to the fifth section
      20. Drag a visible activity to the fifth section
      21. Drag both activities to the sixth section
      22. Verify only one of the activities becomes visible when dragged to a visible section.
      23. Repeat all tests with ajaxenabled set to 0 (non drag and drop version).
      Show
      Set the first section in a new course to visible and the second section to hidden. Add 2 activities to each (using the activity chooser - not drag and drop). Hide 1 activity in the first section. Hide the first section Show the first section Verify that the activities go back to the visible state they were in before the section was hidden. Unhide the second section, verify the activities in that section become unhidden Hide the third section, Move a visible activity into the third section Unhide the third section Verify the activity is made visible. Hide the fourth section Drag a hidden activity to the fourth section Drag a visible activity to the fourth section Verify both activities are hidden Unhide the section Verify only one activity in the fourth section is visible Hide the fifth section Drag a hidden activity to the fifth section Drag a visible activity to the fifth section Drag both activities to the sixth section Verify only one of the activities becomes visible when dragged to a visible section. Repeat all tests with ajaxenabled set to 0 (non drag and drop version).

    Description

      Resources created in a hidden section should have visibleold set to 1.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              Frédéric Massart Frédéric Massart
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/13