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

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • wip-MDL-32184-master
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

              phalacee Jason Fowler
              nadavkav Nadav Kavalerchik
              Frédéric Massart Frédéric Massart
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12