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

Turning off course edit while inside an activity or resource redirects (wrongly) to the course's front page

    Details

    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Create or use a course with an activity
      3. Turn editing on at the course page
      4. Open the Activity
      5. From the course administration menu, select "Turn editing off"
      6. Ensure you remain on the activity page.
      7. From the course administration menu, select "Turn editing on"
      8. Ensure you remain on the activity page.
      Show
      Log in as an admin Create or use a course with an activity Turn editing on at the course page Open the Activity From the course administration menu, select "Turn editing off" Ensure you remain on the activity page. From the course administration menu, select "Turn editing on" Ensure you remain on the activity page.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-32184-master

      Description

      Minor usability issue.

      When course Edit mode is turned ON and while editing or viewing an Activity or a Resource,
      I click on turn course editing off (setting block > course > editing off) ...
      I am redirected to the course's front page and not to the page i was at when i clicked.

      I am expecting to redirect to the same page i was at.

      It seems, that the $fromurl is not used or has the wrong value.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12