Issue Details (XML | Word | Printable)

Key: MDL-14840
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Teresa Gibbison
Votes: 7
Watchers: 5
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Cannot import grades when using non-numeric scale

Created: 15/May/08 05:52 AM   Updated: 09/Oct/08 02:56 AM
Return to search
Component/s: Gradebook
Affects Version/s: 1.9
Fix Version/s: 1.9.3

File Attachments: None
Image Attachments:

1. customScaleGradesErr.gif
(42 kB)

2. screenshot-1.jpg
(156 kB)
Issue Links:
Duplicate
 
Relates
 

Participants: Daljeet Soor, Dan Marsden, Jamie Tinley, Martin Dougiamas, Mike Corb, Mike McDermott, Mohammed Abdulaziz, Nathan Cobb, Petr Skoda and Teresa Gibbison
Security Level: None
Resolved date: 09/Oct/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
 I cannot import grades when I am using a non-numeric Scale. I have a scale with 3 items (Not Attempted, Attempted, Completed). These are the steps I have taken to import the grades:
   1. Graded one student
   2. Exported the file to CSV
   3. Altered the exported file to include the other student's grades
   4. Import the modified file
   5. Throw my hands in the air when reading the error message 'Supplied grade is invalid'

This error also occurs when using the Satisfactory/Not Satisfactory standard scale although using numeric scales works a treat.

Attached is the error I am getting with other screen shots of the Custom scale I was using at the time and file import preview screen. I have found a temporary work-around as outlined below but that is not really ideal
   1. Change the grading in each Moodle assignment to be out of 3
   2. Alter the csv file to have the grades 1, 2 & 3 (3=being Completed; 2=Attempted & 1=Not Attempted)
   3. Import the file
   4. Change the grading in each Moodle assignment back to your custom scale


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 3 files to 'Moodle CVS' - 05/Jul/08 04:47 AM
MDL-14840 verbose scales in grade import
MODIFY grade/import/grade_import_form.php   Rev. 1.17    (+24 -1 lines)
MODIFY lang/en_utf8/grades.php   Rev. 1.167    (+2 -1 lines)
MODIFY grade/import/csv/index.php   Rev. 1.40    (+49 -20 lines)
Petr Skoda committed 3 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 05/Jul/08 04:48 AM
MDL-14840 verbose scales in grade import; backported from HEAD
MODIFY lang/en_utf8/grades.php   Rev. 1.111.2.55    (+2 -1 lines)
MODIFY grade/import/grade_import_form.php   Rev. 1.16.2.1    (+24 -1 lines)
MODIFY grade/import/csv/index.php   Rev. 1.31.2.3    (+49 -20 lines)
Mitsuhiro Yoshida committed 7 files to 'Lang CVS' - 05/Jul/08 09:21 AM
Translated new strings for admin MDL-15021.
Updated a translated string for auth based on lang/en_utf8 change MDL-15544.
Translated a new string for enrol authorize.net.
Translated a new string for grade MDL-14840.
Updated translated help file for quiz export and import based on lang/en_utf8 change MDL-13007.
MODIFY ja_utf8/help/quiz/exportcategory.html   Rev. 1.3    (+2 -2 lines)
MODIFY ja_utf8/enrol_authorize.php   Rev. 1.57    (+2 -1 lines)
MODIFY ja_utf8/auth.php   Rev. 1.68    (+2 -2 lines)
MODIFY ja_utf8/help/quiz/importcategory.html   Rev. 1.4    (+2 -2 lines)
MODIFY ja_utf8/grades.php   Rev. 1.139    (+2 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.270    (+5 -3 lines)
MODIFY ja_utf8/README   Rev. 1.751    (+1 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 05/Jul/08 05:46 PM
MDL-14840, new string added
MODIFY fr_utf8/grades.php   Rev. 1.177    (+2 -1 lines)
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 09/Oct/08 02:52 AM
MDL-14840 trimming scale options - the spaces should not be there in the first place (to be addressed later MDL-16832) - credit goes to Mike Corb and Dan Marsden
MODIFY grade/import/csv/index.php   Rev. 1.31.2.4    (+2 -1 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 09/Oct/08 02:53 AM
MDL-14840 trimming scale options - the spaces should not be there in the first place (to be addressed later MDL-16832) - credit goes to Mike Corb and Dan Marsden; merged from MOODLE_19_STABLE
MODIFY grade/import/csv/index.php   Rev. 1.41    (+2 -1 lines)