Thank you for your updates. I have installed new version and found a lot of bugs have been fixed.
However, faced a new problem where the program rules on the enrollment registration stopped to work,
Plus when I tried to check program rules, for example: d2:hasValue(‘HIV_Calculated_Age_group’)&&(#{HIV_Calculated_Age_group} < 15)
, I found the same program rules are showing errors, without any explanations
Thank you for reporting this. It was also reported by another party yesterday and we have worked quickly to release a hotfix for this regression. I have just announced the hotfix here:
Sorry for the inconvenience and thanks again for letting us know so quickly.
It seems there is another bug came up. I have an expression, which suppose to form Unique code based on the 2 letters of mother, 2 letters of father, gender -1/0, and the last 2 digits of the year of birth.
expression is : d2:concatenate(A{Mother_2l},A{Father_2l},d2:left(A{Sex_at_birth},1),d2:right(A{DOB},2))
Expression with id action:ZkfKRJ8OrUk could not be run. Original condition was: d2:concatenate(A{Mother_2l},A{Father_2l},d2:left(A{Sex_at_birth},1),d2:right(A{DOB},2)) - Evaluation ended up as:d2:concatenate("SS","XX",d2:left("1_male",1),d2:right("01-06-2003",2)) - error message:SyntaxError: Octal literals are not allowed in strict mode.
and result of calculation is false
It may happen if the year of birth ends from 00 to 09