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

Cohort sync dropdown contains redundant entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.6, 3.9.3
    • 3.3.5, 3.4.2, 3.5, 3.7.5, 3.8.2, 3.9.2, 3.10, 4.0
    • Cohorts
    • MOODLE_310_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide
      1. Login as admin
      2. Navigate to Users > Accounts > Cohorts in site administration
      3. Create two new cohorts in the system content: "Horses" & "Badgers"
      4. Navigate to Competencies > Learning plan templates in site administration
      5. Press Add new learning plan template
      6. Give it a name and Save changes
      7. Navigate to Competencies > Learning plan templates in site administration
      8. Click Edit in the Actions column for your new learning plan
      9. Press Add cohorts to sync
      10. Expand the autocomplete field, select "Badgers" and press Add cohorts
      11. When the page reloads expand the autocomplete field again and confirm that "Badgers" isn't present
      12. Select "Horses" and press Add cohorts
      13. When the page reloads expand the autocomplete field and confirm it's empty

      (Shortened version of testing instructions from MDLQA-12178)

      Show
      Login as admin Navigate to Users > Accounts > Cohorts in site administration Create two new cohorts in the system content: "Horses" & "Badgers" Navigate to Competencies > Learning plan templates in site administration Press Add new learning plan template Give it a name and Save changes Navigate to Competencies > Learning plan templates in site administration Click Edit in the Actions column for your new learning plan Press Add cohorts to sync Expand the autocomplete field, select "Badgers" and press Add cohorts When the page reloads expand the autocomplete field again and confirm that "Badgers" isn't present Select "Horses" and press Add cohorts When the page reloads expand the autocomplete field and confirm it's empty (Shortened version of testing instructions from MDLQA-12178 )

      When syncing cohorts to a learning plan, the list of cohorts that can be added includes cohorts that are already synced with the learning plan (so adding it again would have no effect).

      I discovered this while QA testing MDLQA-12178, however I have not linked it, because it doesn't affect the outcome of those steps (everything still works).

            pholden Paul Holden
            michaelh Michael Hawkins
            Mihail Geshoski Mihail Geshoski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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