[SAK-33987] GradebookNG / import issue with percentage gradebook Created: 06-Mar-2018  Updated: 20-Mar-2018  Resolved: 20-Mar-2018

Status: RESOLVED
Project: Sakai
Component/s: Gradebook
Affects Version/s: 11.4
Fix Version/s: 11.5 [Tentative]

Type: Bug Priority: Blocker
Reporter: Derek Ramsey Assignee: Sam Ottenhoff
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

11x / not an issue on 12x


Issue Links:
Depend
depends on SAK-33803 Gradebook showing three decimal place... Verified
Relate
relates to SAK-32633 Gradebook import is not working becau... RESOLVED
relates to SAK-33368 Import of grades relies on point valu... RESOLVED
relates to SAK-32966 More Gradebook import issues CLOSED
relates to SAK-33521 Import grades doesn't work with local... Verified
Test Plan:

To replicate:

Set gradebook ng to percentage GB, no categories or weighting

Create a gradebook item with a relative weight of 45.5

Export the gradebook

Enter scores for a student

Import the csv file

It will set the previously created gb item to be worth 5 instead of 45.5


 Description   

When exporting/importing a percentage gb, anything to the left of the decimal on a gradebook item will be dropped on import.

 

To replicate:

Set gradebook ng to percentage GB, no categories or weighting

Create a gradebook item with a relative weight of 45.5

Export the gradebook

Enter scores for a student

Import the csv file

It will set the previously created gb item to be worth 5 instead of 45.5

This works fine on 12x as well as gradebook classic on 11.



 Comments   
Comment by Sam Ottenhoff [ 19-Mar-2018 ]

I submitted a direct 11.x PR

Comment by Sam Ottenhoff [ 20-Mar-2018 ]

Maybe part of the issue here is that GBNG import will never accept more than two decimals on import and Sakai 11.x export is producing many decimals while Sakai 12.x export is only producing two decimals? Maybe SAK-33521 related?

Generated at Sun Sep 22 08:05:39 CDT 2019 using Jira 8.0.3#800011-sha1:073e8b433c2c0e389c609c14a045ffa7abaca10d.