Fixed
Details
Priority
Affects versions
Components
Assignee
Jasmine Thapa
Jasmine ThapaReporter
Sam Ottenhoff
Sam OttenhoffEnvironment
Tested on Sakai 2.6 and on trunk
Created September 22, 2009 at 11:00 AM
Updated April 17, 2018 at 8:38 AM
Resolved May 4, 2011 at 2:07 PM

To replicate:
1) Create an assessment
2) Go to Settings
3) Under Delivery Dates, use the popup calendar to set dates for Available, Due, and Retract
4) Modify the Due Date to remove the seconds portion of the time (e.g.: 09/30/2009 01:54 PM)
The error message:
Error setting property 'dueDateString' in bean of type org.sakaiproject.tool.assessment.ui.bean.author.AssessmentSettingsBean: java.lang.ArrayIndexOutOfBoundsException: 2
To fix, the code should check for missing seconds in the array and set to "00" if missing. Or, the correct error message should be used:
The date you have entered for Due Date is not valid. Please make sure you have entered an existing date in the mm/dd/yyyy hh:mm:ss AM/PM format.