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

Improve the section error page when the ID is not correct

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_405_STABLE
    • MDL-81503-main
    • Hide
      1. As an admin go to $sitepath/course/section.php?id=xxx URL
      2. Confirm the page title is 'Not found |  $siteshortname'
      3. Confirm the page header is $sitefullname
      4. Confirm there is an error message using red background.
      5. Confirm there is a 'Go back to site' button that goes to the same page you see navigating to $sitepatch/index.php
      Show
      As an admin go to $sitepath/course/section.php?id=xxx URL Confirm the page title is 'Not found |  $siteshortname' Confirm the page header is $sitefullname Confirm there is an error message using red background. Confirm there is a 'Go back to site' button that goes to the same page you see navigating to $sitepatch/index.php
    • HQ 2024 Maintenance I2 Mop

      From Moodle 4.4 all sections have it's own page URL using course/section.php. This new URL makes it easier for teachers to copy and paste a specific section URL in labels or documentation.

      However, if, for some reason, the section is deleted, the current displayed error is not so friendly.  It would be great if we could improve the message and add some links to go back to the course.

      This is the current error:

      Also, the "continue" button goes to the dashboard/home page, not to the course.

        1. (1) 2 Passed -- (Main)MDL-81503.png
          33 kB
          Kim Jared Lucas
        2. (1) 3 Passed -- (Main)MDL-81503.png
          38 kB
          Kim Jared Lucas
        3. (1) 4 Passed -- (Main)MDL-81503.png
          33 kB
          Kim Jared Lucas
        4. (1) 5 Passed -- (Main)MDL-81503.png
          38 kB
          Kim Jared Lucas
        5. image-2024-05-03-10-54-23-385.png
          9 kB
          Amaia Anabitarte
        6. image-2024-05-06-12-32-06-593.png
          42 kB
          Laurent David
        7. MDL-81058_001.png
          30 kB
          Ferran Recio

            amaia Amaia Anabitarte
            tusefomal Ferran Recio
            Laurent David Laurent David
            Ferran Recio Ferran Recio
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 47 minutes
                3h 47m

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