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

Cohort sync dropdown contains redundant entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.5, 3.4.2, 3.5, 3.7.5, 3.8.2
    • Fix Version/s: None
    • Component/s: Cohorts
    • Labels:
    • 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_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • 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

          Activity

            People

            Assignee:
            pholden Paul Holden
            Reporter:
            michaelh Michael Hawkins
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m