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

Missing labels in restore page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      You need WAVE chrome extension

      Test 1

      1. Log in as admin
      2. Go to Site administration > Courses > Restore course
      3. Upload the provided backup file into the "Import a backup file" file area section and click on the restore button
      4. Follow the pages to restore the backup file into a new course. As you follow, on each page press the WAVE extension button and verify that:
        1. There is no "Missing form label" error on any page
        2. There is no "Empty form label" error on any page
        3. There is no "Orphaned form label" alert on any page

      Test 2:

      1. Log in as admin
      2. Create a new course
      3. Visit the course
      4. Click on the cog menu and then select 'import'
      5. Using the WAVE button verify that:
        1. There is no "Missing form label" error on any page
        2. There is no "Empty form label" error on any page
        3. There is no "Orphaned form label" alert on any page
      6. Select the course you restored on Test 1
      7. Repeat step 5
      8. Proceed with the import. As you proceed, repeat step 5 on each page.

      Regression test (copied from MDL-34859):

      1. Create a backup of a course that has users, custom enrolment methods (for example "self"), activities, blocks, etc.
      2. Go to Site Administration > Courses > General restore defaults and create some funny set of default settings, lock some of them.
      3. As a manager (not admin!) restore this backup and make sure the defaults applied: try restoring as a new course, merging into existing and replacing existing (delete existing course contents).
      4. Make sure all defaults applied properly
      5. When restoring into existing course experiment with "Overwrite course configuration" and keeping/overwriting course name and startdate - this hopefully became more clear in the UI now.
      6. Revoke from the manager one (or all) of capabilities:
        • moodle/course:changeshortname
        • moodle/course:changefullname
        • moodle/restore:rolldates
      7. In the default settings lock defaults to overwrite course names/dates.
      8. As a manger restore the course merging/replacing the existing course and make sure that names/dates were NOT changed and permission absence wins over config lock.
      9. Experiment with editing section name using the sectionedit form - make sure you can switch between default and custom section name
      Show
      You need WAVE chrome extension Test 1 Log in as admin Go to Site administration > Courses > Restore course Upload the provided backup file into the "Import a backup file" file area section and click on the restore button Follow the pages to restore the backup file into a new course. As you follow, on each page press the WAVE extension button and verify that: There is no "Missing form label" error on any page There is no "Empty form label" error on any page There is no "Orphaned form label" alert on any page Test 2: Log in as admin Create a new course Visit the course Click on the cog menu and then select 'import' Using the WAVE button verify that: There is no "Missing form label" error on any page There is no "Empty form label" error on any page There is no "Orphaned form label" alert on any page Select the course you restored on Test 1 Repeat step 5 Proceed with the import. As you proceed, repeat step 5 on each page. Regression test (copied from MDL-34859 ): Create a backup of a course that has users, custom enrolment methods (for example "self"), activities, blocks, etc. Go to Site Administration > Courses > General restore defaults and create some funny set of default settings, lock some of them. As a manager (not admin!) restore this backup and make sure the defaults applied: try restoring as a new course, merging into existing and replacing existing (delete existing course contents). Make sure all defaults applied properly When restoring into existing course experiment with "Overwrite course configuration" and keeping/overwriting course name and startdate - this hopefully became more clear in the UI now. Revoke from the manager one (or all) of capabilities: moodle/course:changeshortname moodle/course:changefullname moodle/restore:rolldates In the default settings lock defaults to overwrite course names/dates. As a manger restore the course merging/replacing the existing course and make sure that names/dates were NOT changed and permission absence wins over config lock. Experiment with editing section name using the sectionedit form - make sure you can switch between default and custom section name
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-69649-310
    • Pull Master Branch:
      MDL-69649-master
    • Story Points:
      1
    • Sprint:
      International 4.0 - Sprint 7

      Description

      There are missing labels in the "Destination" step of the restore process.

      1. Radio buttons
      2. Search input box

      For example, when restoring an activity backup in a course:

        Attachments

          Activity

            People

            Assignee:
            rezaie9 Shamim Rezaie
            Reporter:
            jpataleta Jun Pataleta
            Peer reviewer:
            Peter Dias
            Integrator:
            Adrian Greeve
            Tester:
            Mihail Geshoski
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Nov/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours
                1d 6h