[samigo-team] Requesting for help in fixing the issue: SAM-2337

Chaitanya Cheekate chaitanya.cheekate at vidyayug.com
Tue May 13 06:18:27 PDT 2014


Hello,
I am trying to fix the issue:Linear Assessment, Saving Calculated Question
with no answer and re-attempting to answer results in null pointer
(SAM-2337<https://jira.sakaiproject.org/browse/SAM-2337>
)

*Root cause:*
Without filling answer If user clicks on save button the data is storing in
the database. Then user clicks on "next/save/submit for grading" button
with/with out filling answer we are getting null pointer exception because
instead of updating the old item grading it's adding the new answer as
extra grading item( inside setResponse() of FinBean class) to
itemGradingDataArray. even though the question has one answer it's trying
to read two answers at the time of grading.
This behavior might be problem with data variable(of FinBean class) becomes
null in this scenario.

Can anyone suggest me the related code/methods to fix this issue. Also let
me know If you need any more information.


-- 
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/samigo-team/attachments/20140513/ecf25af9/attachment.html 


More information about the samigo-team mailing list