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

Cannot change case of group (or grouping) name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.9.4
    • Component/s: Groups
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      If you try to update the case of a group name (e.g. change "MY GROUP" to "My Group"), you get this error:

      The group name 'My Group' already exists in this course, please choose another one.

      Same goes for Groupings.

      Easy enough to fix this, see attached patch. The scripts concerned already check to see whether the name is unchanged, I just changed that condition so that it does a case-insensitive comparison. As far as I can tell this doesn't cause any other problems.

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              daveyboond Steve Bond
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09