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

Assignment offline worksheet import doesn't provide any useful guidance as to why import may have failed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10.2
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create an assignment (test course will do)
      2. Enable offline grading plugin
      3. Download grading worksheet
      4. "Corrupt" the column names (primarily Identifer, Last Modified (grade) and grade column names)
      5. Upload the grading worksheet
      6. Vague error message displayed about CSV format display
      7. Checkout fix
      8. Reupload "broken" grading worksheet
      9. More helpful information about what is broken should be displayed.
      Show
      Create an assignment (test course will do) Enable offline grading plugin Download grading worksheet "Corrupt" the column names (primarily Identifer, Last Modified (grade) and grade column names) Upload the grading worksheet Vague error message displayed about CSV format display Checkout fix Reupload "broken" grading worksheet More helpful information about what is broken should be displayed.
    • Affected Branches:
      MOODLE_310_STABLE
    • Pull Master Branch:
      MDL-71142-master_Better_Failure_info

      Description

      When a user uploads a badly formed CSV file (for instance something has inadvertently changed the column names by stripping / replacing spaces) the offline worksheet fails to import with a very generic error message "Moodle could not read the uploaded worksheet. Make sure it is saved in comma separated value format (.csv) and try again".

      It would be better if for the various failure conditions that are detectable, such as the the column names not matching the expected columns, that this is returned.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mhughes2k Michael Hughes
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: