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

    • 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phalacee Jason Fowler
              Reporter:
              nadavkav Nadav Kavalerchik
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Dan Poltawski
              Tester:
              David Monllaó
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Barbara Ramiro, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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