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

Uploading CSV of Users Fails for Optional Custom Profile Fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.10.7
    • User management
    • MOODLE_310_STABLE

      Steps to reproduce:

      • Create a custom user profile field of type menu.
      • Leave the "Required" checkbox unchecked.
      • Add some options.
      • Leave Default blank.
      • Attempt to upload a user spreadsheet containing two records. One record has data for the custom field. The next record does not have data for the custom field.

      You will be shown an invalid field error in the status when previewing the upload.

      Expected Behavior: You should be allowed to leave the field blank in the CSV since the field is marked as optional.

        1. MDL-72797_sample.csv
          0.3 kB
          Angelia Dela Cruz
        2. MDL-72797_upload.png
          75 kB
          Angelia Dela Cruz

            Unassigned Unassigned
            davidsheart02 Nathaniel Latoni
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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