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

Impossible to edit custom profile fields if the "editor" has that custom field with info

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0
    • Fix Version/s: 1.9, 2.0
    • Component/s: Administration
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When the admin user has any of the custom-profile-fields with information, that field cannot be edited (Admin->Users->Accounts->User profile fields) anymore.

      To reproduce, as admin:
      1 - create any custom profile field.
      2 - fulfill it in the admin user page
      3 - go back to the custom profiles field and try to edit that custom field.
      4- you'll get an: "That field shortname must be unique".

      And 4) shouldn't happen. The field is correct.

        Attachments

          Activity

            People

            • Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Séverin Terrier
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08