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

Problems to do with the combination of setting course format set to Weeks and the layout to "Show one section per page"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Course
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create a course of week format, course layout: 'Show one section per page'
      2. Go to the main page of the course with editing set to off
      3. Make sure the week corresponding to today's date is highlighted or has the class 'current'
      4. Turn editing on, hide any other section and turn editing back off.
      5. Make sure you see the hidden section is greyed or has the class 'hidden'
      6. Navigate to one of the sections and create any activity or resource
      7. Make sure you're redirected back to the page you came from
      8. Click to duplicate your resource, 'Continue' and 'Return to course'
      9. Make sure you're redirected back to the page you came from
      10. Click to duplicate your resource, but Cancel the duplicate.
      11. Make sure you're redirected back to the page you came from
      12. Click to delete your resource, and confirm.
      13. Make sure you're redirected back to the page you came from
      14. Click to delete your resource, but cancel.
      15. Make sure you're redirected back to the page you came from
      16. Click to move your resource
      17. Make sure that when navigating between sections the text 'Moving this activity: <activity> (Cancel)' appears and looks nice in the design
      18. Make sure after choosing the destination, you're redirected on the page you came from
      19. Make sure you can't move the section itself (as it's the only one with the main one)
      20. Go the main page of the course and set editing on
      21. Now reproduce steps 3 to 18
      22. Go to the summary page with editing off
      23. While switching to different themes make sure the page looks nice
      Show
      Create a course of week format, course layout: 'Show one section per page' Go to the main page of the course with editing set to off Make sure the week corresponding to today's date is highlighted or has the class 'current' Turn editing on, hide any other section and turn editing back off. Make sure you see the hidden section is greyed or has the class 'hidden' Navigate to one of the sections and create any activity or resource Make sure you're redirected back to the page you came from Click to duplicate your resource, 'Continue' and 'Return to course' Make sure you're redirected back to the page you came from Click to duplicate your resource, but Cancel the duplicate. Make sure you're redirected back to the page you came from Click to delete your resource, and confirm. Make sure you're redirected back to the page you came from Click to delete your resource, but cancel. Make sure you're redirected back to the page you came from Click to move your resource Make sure that when navigating between sections the text 'Moving this activity: <activity> (Cancel)' appears and looks nice in the design Make sure after choosing the destination, you're redirected on the page you came from Make sure you can't move the section itself (as it's the only one with the main one) Go the main page of the course and set editing on Now reproduce steps 3 to 18 Go to the summary page with editing off While switching to different themes make sure the page looks nice
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33442-master-integration

      Description

      If you go into a section then click the move button for a resource you can see the current section plus the first section (the one that is always visible). The URL is: http://localhost/moodle/int/master/course/view.php?id=2&section=1

      After clicking in one of the available slots you are returned to http://localhost/moodle/int/master/course/view.php?id=2&section=0
      This page displays the contents of all sections.

      After duplicating a resource I'm returned to:
      http://localhost/moodle/int/master/course/view.php?id=2#section-3

      When deleting a resource I started at:
      http://localhost/moodle/int/master/course/view.php?id=2&section=3

      but was returned to:
      http://localhost/moodle/int/master/course/view.php?id=2&section=0

      Quote text is from MDLQA-2298

      "12. Verify the current week is marked visually."
      Not working. If you turn editing mode on (which displays the contents of all the sections) the highlighting works.
      With editing off, so all you have is a list of links to the sections, the current week is not highlighted. My theme is "standard".

      "13. Move a section and verify that the section CANNOT be moved."
      If I turn editing on I can move the sections.

        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:
                    25/Jun/12