haramas
(Hasina Ramasomanana)
13 December 2022 13:10
1
Hi guys,
Just in case, if you have solution about this program rules issues on 2.38.2 but works fine in 2.36.12 :
OptionSet configuration
Data Element configuration :
Program Rule configuration :
Action
Assign value
Program rule variable to assign to
#{PROG_Test_avg}
Expression
(d2:zing(#{PROG_Test1}) +
d2:zing(#{PROG_Test2}))/(d2:oizp(#{PROG_Test1}) +
d2:oizp(#{PROG_Test2}))
Result in 2.36.12 :
Result in 2.38.2 :
Thanks for your help
Hasina
1 Like
Gassim
(AL-Gassim Sharaf Addin)
15 December 2022 18:56
2
Thank you for your detailed post with the screenshots! Sorry for taking this long to respond.
I’m triaging this to @tracker-programRules and if turns out a bug, we can create a Jira bug issue.
1 Like
superskip
(Tony Valle)
16 December 2022 17:09
3
Hello @haramas ,
Turns out the oizp
-function is faulty. Thanks for bringing attention to this! I will create a Jira bug issue for it and have it resolved shortly.
2 Likes
Hi @haramas ,
I believe if you could upgrade to the latest DHiS2 version of 2.38 which is: 2.38.1.1 that will solve your issue…
More release notes and hotfixes are described at the below link:
Dear all,
DHIS2 version 2.38.1.1 is out as a HOTFIX release to address DHIS2-13550 , which can result in loss of SQL Views.
This is the latest stable release for version 2.38, and supersedes patch 2.38.1.
These hotfixes are provided to make it easy for you to apply important fixes without a large interruption to use. This fixes an isolated issue and can directly replace 2.38.1.
The release note for this patch can be found here: Patch 2.38.1.1 Release Note .
Thanks!
DHIS2 Release Team
Re…
Best regards,
1 Like
haramas
(Hasina Ramasomanana)
19 December 2022 06:51
5
Hi @ayman.tuffaha ,
Thanks for your response. As I mentioned before, I tried it with the 2.38.2.1 and didn’t work.
Best
1 Like
Gassim
(AL-Gassim Sharaf Addin)
21 December 2022 17:55
6
Thanks @haramas for pointing this out!
Here’s the Jira ticket: [DHIS2-14352] - Jira (Thanks @superskip !)