Closed nupoorkhandelwal closed 6 months ago
Fixed for org jsscpuat_new.
The line of code fixed is this one below.
if(!_.isNil(latestEncounter1) && !_.isNil(latestEncounter2))
It was not checking if the latestEncounters were defined or not.
The issue also occurred because of "ruleServiceLibraryInterfaceForSharingModules", which was later fixed by running the the script available on readme. https://avni.readme.io/docs/updating-rules-in-bulk
Rule uuid
de331278-bb9a-43fa-9226-c9b08bcce400
Context
As per stacktrace, this rule failure is due to offline report card - "No of children in the same grade"
Error message is
Cannot read property 'getObservationReadableValue' of undefined
Tasks