Picture of Suresh Kumar
Re: Urgent: Multiple assessments
by Suresh Kumar - Monday, 16 October 2017, 12:15 PM
 

I made a minor code update on the assesment.js file under the adapt-contrib-assessment extension.

Updated the following line from

https://github.com/adaptlearning/adapt-contrib-assessment/blob/c395d4cb15f98f59664b5f1d5b6d9f468fd47c6d/js/assessment.js#L298

to

 if (state.isPass) assessmentsComplete++;

This update helped to ensure both the assessments are passed before the cmi.core.lesson_status _value set to completed.