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

New grade item import with blank or '-' entires behave incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8 regressions, 2.8.2
    • 2.7.6, 2.8.4
    • Gradebook
    • MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-48993-master
    • Hide
      1. Go into a course with students and download the gradebook in Excel format
      2. Open the file in excel
      3. Add a column, give them headings "Item 1"
      4. Give the students grades, make sure at least one student have a empty grade, and one has only a grade of - (dash)
      5. Save the file as a CSV
      6. Import the CVS file into the course gradebook
      7. Set both Map from and Map to to "Email address"
      8. Next to "Item 1" select New grade item
      9. Click upload grades
      10. Confirm in the gradebook that Item 1 has been created an populated with appropriate grades. Ensure that blank and - grades show as not have any grade
      Show
      Go into a course with students and download the gradebook in Excel format Open the file in excel Add a column, give them headings "Item 1" Give the students grades, make sure at least one student have a empty grade, and one has only a grade of - (dash) Save the file as a CSV Import the CVS file into the course gradebook Set both Map from and Map to to "Email address" Next to "Item 1" select New grade item Click upload grades Confirm in the gradebook that Item 1 has been created an populated with appropriate grades. Ensure that blank and - grades show as not have any grade

    Description

      If you import with CVS or spreadsheet, and add a new grade item, blank entries are incorrectly counted as 0.0 grades, while '-' entires cause an Undefined variable error. Both cases should be 'no grade'.

      Attachments

        Issue Links

          Activity

            People

              emerrill Eric Merrill
              emerrill Eric Merrill
              Simey Lameze Simey Lameze
              David Monllaó David Monllaó
              Damyon Wiese Damyon Wiese
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15