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

Group Import does not follow CSV standard

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.2, 3.2.6, 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Groups
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      The group import functionality doesn't properly follow the CSV standard, and commas or newlines that are part of field data, properly surrounded by quotation marks, are handled improperly, causing the form to misbehave. Since one of the columns in the group import field is description, which can easily have both newlines and commas, this can be an issue.

      The ideal thing to do would be to re-write the implementation to make use of the standard csv_import_reader class.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jmlsteele Jody Steele
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: