Use StringUtils.isNotBlank when Saving Display score option in published assessments

Description

During some test we had problems saving published assessments settings from SAKAI 10.x in SAKAI 11. This new property "Display Score" did not exists in SAKAI 10 so i might be a good idea to use StringUtils.isNotBlank (just like it´s done when you save the settings for a unpublished assessment)

Saving settings in an unpublished assessment

Saving settings in an published assessment

IMO both should use StringUtils.isNotBlank

This new property was added in

Activity

Show:

Alejandro González Jiménez June 13, 2016 at 5:07 AM

Only if a teacher is working with exams created with Sakai 10.x in Sakai 11.

The property "Display Score" is new in 11 so all the exams from 10.x have a value of null (or " ") on it. If you save an assessment with Display Score asigned to null (or " ") you´ll get an exception and your modifications won´t be saved.

Neal Caidin June 12, 2016 at 6:25 PM

Is there any impact to the user?

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Created June 10, 2016 at 2:28 AM
Updated April 17, 2018 at 8:38 AM
Resolved June 10, 2016 at 9:46 AM