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

Settings scroll position lost after changing course format

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-74112-master
    • Hide
      1. Login as admin.
      2. Navigate to Site administrator > Advanced features.
      3. Enable (checked) the  Enable global search option.
      4. Save changes.
      5. Create a course or use an existing one.
      6. Edit the course.
      7. Change the course format to Single activity.
      8. The page will be reloaded.
        1. Confirm that the URL contain the courseformathdr parameter
        2. Confirm that the page scroll down to the format settings
      Show
      Login as admin. Navigate to Site administrator > Advanced features. Enable (checked) the  Enable global search option. Save changes. Create a course or use an existing one. Edit the course. Change the course format to Single activity. The page will be reloaded. Confirm that the URL contain the courseformathdr parameter Confirm that the page scroll down to the format settings

      Currently, the format chooser page scroll feature doesn't work correctly in some cases.

      For example, this feature will not work if we enable the global search.

      Steps to replicate:

      1. Login as admin.
      2. Navigate to Site administrator > Advanced features.
      3. Enable (checked) the  Enable global search option.
      4. Save changes.
      5. Create a course or use an existing one.
      6. Edit the course.
      7. Change the course format to Single activity.
      8. The page will be reloaded.
      9. The #id_courseformathdr param is missing in the browser URL.
      10. The page is scrolled back to the top of the page.

      Expected:

      • There is a param called id_courseformathdr in the browser URL.
      • The page is scrolled to the Course format section after reload, not the top of the page.

      — Original description —

      Page scroll position was not preserved after changing course format. This does not appear to meet the test requirements as described in step 6 of MDLQA-16184. Below are the before and after screenshots.

      Also, I switched from Single Activity to Weekly format in step 11, I noticed that all of the sections except General are set to "Hidden from students" as seen in the screenshot above. This was unexpected as it was not indicated in the description of the test instructions. Please confirm that this is indeed the desired behaviour.

       

            dobedobedoh Andrew Lyons
            michael-milette Michael Milette
            Ferran Recio Ferran Recio
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.