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

tool_uploadcourse: fullname/shortname fields don't get length checked while uploading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.4, 3.7.1, 3.8
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      1) use this .csv with delimeter ";":

      shortname;fullname;category_path;startdate;enddate
      test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading;test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading test with long enough field value that will not be checked while uploading;1;09.09.2019;18.07.2020

      2) Preview shows everything is fine

      3) Uploading and getting SQL error:

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rabudo Roman Sevostyanov
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: