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

Course restore searching is broken

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-77313-401
    • MDL-77313-402
    • Hide
      1. Log in as admin
      2. Create two top-level course categories:
        • Fruit
        • Animals
      3. Create "Apples" course in the "Fruit" category
      4. Create "Badgers" course in the "Animals" category
      5. Navigate to "Apples" course
      6. Select More > Course reuse from navigation
      7. Choose Backup from dropdown list
      8. Leave defaults, jump to final step
      9. Complete backup
      10. You should now be on the Restore page of the Course reuse menu
      11. Under Course backup area press the Restore link for the backup you just created
      12. Press Continue
      13. Under Select a category choose "Fruit"
      14. In the Search categories input type "Animals" and press enter
      15. Confirm the Select a category list now only shows "Animals"
      16. Clear the Search categories input and press enter
      17. Under Select a course choose the site name
      18. In the Search courses input type "Badgers" and press enter
      19. Under Select a course choose "Badgers"
      20. Press Continue
      21. Progress through restore wizard using defaults
      22. Confirm the contents of the "Apples" course have been restored in to the "Badgers" course
      Show
      Log in as admin Create two top-level course categories: Fruit Animals Create "Apples" course in the "Fruit" category Create "Badgers" course in the "Animals" category Navigate to "Apples" course Select More > Course reuse from navigation Choose Backup from dropdown list Leave defaults, jump to final step Complete backup You should now be on the Restore page of the Course reuse menu Under Course backup area press the Restore link for the backup you just created Press Continue Under Select a category choose "Fruit" In the Search categories input type "Animals" and press enter Confirm the Select a category list now only shows "Animals" Clear the Search categories input and press enter Under Select a course choose the site name In the Search courses input type "Badgers" and press enter Under Select a course choose "Badgers" Press Continue Progress through restore wizard using defaults Confirm the contents of the "Apples" course have been restored in to the "Badgers" course
    • 1
    • Team Hedgehog 2023 Sprint 1.4

    Description

      Found during implementation MDL-44190. This is an existing bug and has become more evident since MDL-44190.

      If you're trying to search courses during restoring an activity, at that time, if you accidentally select a course radio button, you cannot use the search feature anymore.

      If you type another keyword for searching and click the search button, it will process you to the next stage.

      Step to replicate:

      1. Create 3 courses called: Course 1, Course 2 and Demo.
      2. Navigate to the Course 1 home page.
      3. Click on More -> Course reuse.
      4. Change to Restore in the tertiary navigation.
      5. Select the attached backup file backup-moodle2-activity-4-assign4-20230220-1606-nu.mbz.
      6. Click Restore.
      7. Click Continue.
      8. Click on the Course 1 radio button.
      9. Type in the Search course field: Course
      10. Click on the "Search" icon next to that field.
      11. Verify the restore screen.

      Expected result: Restore screen will continue in the 2nd stage: Destination with a list of courses that match the search criteria.

      Actual result: Restore screen will display the in the 3rd stage: Settings.

      Please see the attached video for more detail

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              huongn@moodle.com Huong Nguyen
              Huong Nguyen Huong Nguyen
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 4 minutes
                  4h 4m

                  Clockify

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