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

Cohort sync dropdown contains redundant entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.5, 3.4.2, 3.5, 3.7.5, 3.8.2, 3.9.2, 3.10, 4.0
    • Fix Version/s: 3.8.6, 3.9.3
    • Component/s: Cohorts
    • Testing Instructions:
      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 )
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-62387-310
    • Pull Master Branch:

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              michaelh Michael Hawkins
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

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

                  Time Tracking

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