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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      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).
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
      git@github.com:damyon/moodle.git
    • Pull Master Branch:
      MDL-37430-master

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13