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

Fix redirect to course/section in paged mode when moving activities with JS disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      This test should be entirely covered by Behat test very soon, if not already, please check with David

      Test 1

      1. Set a course with Course format 'topics' and 'One section per page'
      2. Turn Javascript off
      3. On the general course page, turn editing on
      4. Make sure you're still on the main course page
      5. Now do the following, and make you're redirected to the same page
        • Move, Highlight, Hide, Show a section
        • Use each action on a module (especially move to another section)
        • Edit course summary
        • Edit section summary

      Test 2

      1. Repeat test 1 from a specific section

      Test 3

      1. Repeat test 1, and 2 with course format weeks

      Test 4

      1. Do a smoke test with Javascript enabled, and/or multiple sections per page
      Show
      This test should be entirely covered by Behat test very soon, if not already, please check with David Test 1 Set a course with Course format 'topics' and 'One section per page' Turn Javascript off On the general course page, turn editing on Make sure you're still on the main course page Now do the following, and make you're redirected to the same page Move, Highlight, Hide, Show a section Use each action on a module (especially move to another section) Edit course summary Edit section summary Test 2 Repeat test 1 from a specific section Test 3 Repeat test 1, and 2 with course format weeks Test 4 Do a smoke test with Javascript enabled, and/or multiple sections per page
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39542-master-int

      Description

      I'm experiencing a problem (only in master) when moving activities

      • Javascript disabled
      • Paged mode enabled
      • Being in the course home
      • Editing mode on

      When I click to move an activity I'm redirected to the activity's section so I can't move it to another section. I see the same problem with all other activity-related actions, after clicking on the icon I'm redirected to the section page, not the course home where I was

      This issue has been detected while converting the lasts MDLQA tests to behat tests, a MDLQA number is for example MDLQA-1669

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13