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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Course
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-39542-master-int
    • 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

    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

              fred Frédéric Massart
              dmonllao David Monllaó
              Marina Glancy Marina Glancy
              Dan Poltawski Dan Poltawski
              Rossiani Wijaya Rossiani Wijaya
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13