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

Fatal erros in tool_uploadcourse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Upload a file with the minimal fields required for creation (shortname, fullname, category)
      2. Leave the defaults settings and make sure the course is created
      3. Now remove the field 'fullname' (and set a new shortname)
      4. Leave the defaults settings and make sure you are shows that there is a missing field for the course
      5. However, make sure you can still proceed with the upload, which will not do anything
      Show
      Upload a file with the minimal fields required for creation (shortname, fullname, category) Leave the defaults settings and make sure the course is created Now remove the field 'fullname' (and set a new shortname) Leave the defaults settings and make sure you are shows that there is a missing field for the course However, make sure you can still proceed with the upload, which will not do anything
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41209-master

      Description

      Maybe I'm doing something wrong but I can't create a course using tool_uploadcourse. Anyway even if I'm doing something wrong, there should be more descriptive error message.

      This is my csv file:

      shortname,fullname,category
      course3,Course 3,1
      

      Everything else is default

      See screenshot

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13