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

We need to add a new optional sectionid parameter to refer to course sections and not be dependent on section changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Course
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-33369-master
    • Hide

      Test 1

      1. Goto course>Edit settings> set 'course layout' to 'show one section per page'
      2. view any course page and make a note of the course id
      3. view the "course_sections" table in the database and filter records corresponding to the courseid above
      4. Try visiting moodle/course/view.php?id=2&sectionid=x
        Where x is any value of the 'id' column from the records listed in step 3
      5. Make sure you are taken to a section page corresponding to that sectionid and the correct node is highlighted in the navigation
      6. Goto course home page and move the section around.
      7. Repeat step 4 and 5 with the section just moved.

      Test 2 (Testing for regressions)

      1. click on any section from the course page and make sure you are taken to the correct section page
      2. Click the next and previous sections links and make sure they work fine
      3. Click on any section link from navigation and make sure you are taken to the correct section page
      Show
      Test 1 Goto course>Edit settings> set 'course layout' to 'show one section per page' view any course page and make a note of the course id view the "course_sections" table in the database and filter records corresponding to the courseid above Try visiting moodle/course/view.php?id=2&sectionid=x Where x is any value of the 'id' column from the records listed in step 3 Make sure you are taken to a section page corresponding to that sectionid and the correct node is highlighted in the navigation Goto course home page and move the section around. Repeat step 4 and 5 with the section just moved. Test 2 (Testing for regressions) click on any section from the course page and make sure you are taken to the correct section page Click the next and previous sections links and make sure they work fine Click on any section link from navigation and make sure you are taken to the correct section page

      The problem is that in multiple places we now try and link to course sections and the link is broken if the section is moved.

            ankit_frenz Ankit Agarwal
            poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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