Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Amjad Ata Allah
Calle Yes, i did a refresh and a hard refresh and even more i deleted all the browser cache :D Yes, the stage appear if i remove the hide program stage rule. Regards, On Mon, Oct 8, 2018 at 11:18 PM Calle Hedberg wrote: > Hi > > agree - if the expression is false, no action is taken. > >

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Calle Hedberg
Hi agree - if the expression is false, no action is taken. maybe it's a refresh thing - have you tried to refresh the page? And does the stage appear if you remove the hide program stage action from the Prog Rule? Regards calle On Mon, 8 Oct 2018 at 22:08, Amjad Ata-Allah wrote: > Calle > >

[Dhis2-devs] Tomcat log inundated with irrelevant warning messages about "No IdentifiableObjectStore found for class: ... Reportingrate"

2018-10-08 Thread Calle Hedberg
Hi I have recently noticed that the tomcat log is getting filled with irrelevant warning messages of this type: * WARN 2018-10-08 22:12:51,086 No IdentifiableObjectStore found for class: class org.hisp.dhis.common.ReportingRate (DefaultIdentifiableObjectManager.java [http-nio-8080-exec-9]) *

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Amjad Ata-Allah
Calle Yes, but the programe stage should appear when the expression is false, which is not happening. Even the warning message disappear when the expression is false. Sent from my iPhone > On Oct 8, 2018, at 11:03 PM, Calle Hedberg wrote: > > Hi > > If the warning message appear when the

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Calle Hedberg
Hi If the warning message appear when the dagnosis value is something else than meninges, then it means the expression correctly evaluated to TRUE. So the expression is correct. And the other action if expression is true, is to hide the meninges stage, yes? and that stage correctly does not

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Amjad Ata Allah
Thanks Calle I replaced the OR with AND. I added another action to the rule "Show warning message" for testing, and now the warning message appears but the program stage don't. So the issue is with the program stage. Any suggestions? Regards, On Mon, Oct 8, 2018 at 2:41 PM Calle Hedberg

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Amjad Ata Allah
Dear Calle, The case is that i have like 20 diagnosis, i need to hide the stage if the diagnose is not one of those 3 diagnosis and show the stage if its one of them. I also tried the &&, but didn't work also. After clearing the cache, i have this error: TypeError: Cannot read property 'id' of

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Calle Hedberg
Amjad, That error is a data-related error (I had something similar last week, and tracked it down to one single orgunit that had an erroneous attribute value - but in your case the data error might be somewhere else, no idea where). If you get that kind of error, it often results in other program

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Calle Hedberg
Hi You only use the code if that has been specified in the option set (tick-box). Secondly, you are using OR and NOT in your expression: #{aDiagnose} != 'Meningitis - Other Bacterial' || #{aDiagnose} != 'Meningitis - Hemophillus Influenza' || #{aDiagnose} != 'Meningitis - Meningococcal

Re: [Dhis2-devs] failed to lazily initialize a collection of role: org.hisp.dhis.user.UserCredentials.userAuthorityGroups, could not initialize proxy - no Session

2018-10-08 Thread 林晓东
this is for dhis2 2.30 version. but 2.29 can work. -- 此致 莫愁前路无知己,天下谁人不识君。 在 2018-10-08 15:48:32,"林晓东" 写道: Hi,all when I login with hisptz touch app, got this error should change the attribute lazy="false" in .hbm.xml? -- 此致 easy 莫愁前路无知己,天下谁人不识君。

Re: [Dhis2-devs] PostgreSQL-10 Optimization for DHIS2

2018-10-08 Thread Gerald Thomas
postgresql.conf Description: Binary data Dear Calle,Please find the attached requested file.On Oct 8, 2018, at 6:52 AM, Calle Hedberg wrote:Gerald,Please post your postgresql.conf fileRegardsCalleOn Sun, 7 Oct 2018 at 23:19, gerald thomas

[Dhis2-devs] Translation reset after night

2018-10-08 Thread Em Le Hong
Dear all, We are running a database on 2.29 build date 2018-09-24 03:24 and facing a strange behavior on translation of organisation unit and data elements. For example we want to update translation for an organisation unit. It's working fine, but after a night the old translation will be

[Dhis2-devs] failed to lazily initialize a collection of role: org.hisp.dhis.user.UserCredentials.userAuthorityGroups, could not initialize proxy - no Session

2018-10-08 Thread 林晓东
Hi,all when I login with hisptz touch app, got this error should change the attribute lazy="false" in .hbm.xml? -- 此致 easy 莫愁前路无知己,天下谁人不识君。___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net

Re: [Dhis2-devs] PostgreSQL-10 Optimization for DHIS2

2018-10-08 Thread Calle Hedberg
Gerald, Please post your postgresql.conf file Regards Calle On Sun, 7 Oct 2018 at 23:19, gerald thomas wrote: > Dear All, > My instance is running on Ubuntu 18.04 with PostgreSQL-10 and i am using > version 2.27 Build revision 49b827a with an allocated RAM of 16Gb for > PostgreSQL and 12Gb

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Amjad Ata-Allah
Dear Zubair, Yes it is, and i tried both (name and code). Regards, Sent from my iPhone > On Oct 8, 2018, at 9:47 AM, Zubair Asghar Raja wrote: > > Hi Amjad > Is aDiagnose an option set? If it is then try using code instead of name. > > > Zubair > > Den man. 8. okt. 2018, 6:50 a.m. skrev

Re: [Dhis2-devs] Program Rule

2018-10-08 Thread Zubair Asghar Raja
Hi Amjad Is aDiagnose an option set? If it is then try using code instead of name. Zubair Den man. 8. okt. 2018, 6:50 a.m. skrev Amjad Ata Allah < ataallah.am...@gmail.com>: > Hi Stephen > Here is the condition expression: > #{aDiagnose} != 'Meningitis - Other Bacterial' || #{aDiagnose} != >