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

can create duplicate cohort idnumber

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-76611-401
    • Hide
      1. Log in as admin
      2. Navigate to Users > Accounts > Cohorts in site administration
      3. Create 3 new cohorts:
        • Name: Cohort 1
        • Name: Cohort 2
        • Name: Cohort 3; Cohort ID: COH
      4. Ensure you're on the System cohorts tab
      5. Use the editing (pencil icon) option to change cohort ID of Cohort 1 to "TEST"
      6. Confirm cohort ID is updated to "TEST"
      7. Use the editing option to change cohort ID of Cohort 1 to "COH"
      8. Confirm cohort ID is not updated, and remains "TEST"
      9. Use the editing option to change cohort ID of Cohort 1 to "" (empty string)
      10. Confirm cohort ID is updated to empty string
      Show
      Log in as admin Navigate to Users > Accounts > Cohorts in site administration Create 3 new cohorts: Name: Cohort 1 Name: Cohort 2 Name: Cohort 3; Cohort ID: COH Ensure you're on the System cohorts tab Use the editing (pencil icon) option to change cohort ID of Cohort 1 to "TEST" Confirm cohort ID is updated to "TEST" Use the editing option to change cohort ID of Cohort 1 to "COH" Confirm cohort ID is not updated, and remains "TEST" Use the editing option to change cohort ID of Cohort 1 to "" (empty string) Confirm cohort ID is updated to empty string
    • 1
    • Team Hedgehog Sprint 2.1, Team Hedgehog Sprint 2.2

    Description

      When we editing cohorts in page cohort/index.php we can set idnumber already existing cohort's idnumber. But in page cohort/edit.php we cant create duplicate cohort idnumber.

      For example, we have two cohort idnumber: blob and blobs. Then we go to cohort/index.php and in this page editing cohort idnumber from "blobs" to "blob". And will succesfully. But if we go to cohort/edit.php and try editing cohort idnumber from "blobs" to "blob" (if idnumber "blob" exist) the system will issue a warning, that idnumber already exist.

      Attachments

        Activity

          People

            pholden Paul Holden
            fidan Synbulatov Fidan
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 35 minutes
                1h 35m

                Clockify

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