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

validate lang in csv user uploads

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.5
    • Administration
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • w02_MDL-37064_m25_languser
    • Hide

      1/ create some csv file with user details including lang columns - use both valid and invalid language codes
      2/ upload the file and verify results in user database table (add+update)
      3/ change the file - break some correct lang codes
      4/ upload again (add+update) and verify results in user database table data

      Show
      1/ create some csv file with user details including lang columns - use both valid and invalid language codes 2/ upload the file and verify results in user database table (add+update) 3/ change the file - break some correct lang codes 4/ upload again (add+update) and verify results in user database table data

    Description

      We should not allow invalid lang input because it might break elsewhere in core - see the linked issue.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13