[Dhis2-devs] Need help in Program Rules

2015-08-17 Thread Neeraj Gupta
Hello All, I am using DHIS version 2.20 build revision 19691. I am having a doubt in Program rules. We have a case where Data element 'Age Type' has options i.e. *Hours/Days/Weeks/Months/Years* Now if the user is selecting 'Age type' as *Hours *then another data element 'Age' should accept valu

Re: [Dhis2-devs] Need help in Program Rules

2015-08-17 Thread Markus Bekken
Hi Neeraj. This kind of cross validation rules is half way supported already, and the full support is right around the corner. The program rule can be created in the editor, it is being run - but how to display the error message in the UI is still under discussion. Keep an eye out in release not

Re: [Dhis2-devs] Error When Creating User via Web API

2015-08-17 Thread Mark Polak
Hey Farai, So close! :) In the userCredentials object you have set a name property. "name": "Farai_Mutero", But there is no such property on that object. It is the username you want to set. Then your call will work. "username": "Farai_Mutero", I'll paste the whole structure below. Regards,

Re: [Dhis2-devs] Error When Creating User via Web API

2015-08-17 Thread Morten Olav Hansen
You can also skip name and displayName, as these are auto-generated.. -- Morten On Mon, Aug 17, 2015 at 3:29 PM, Mark Polak wrote: > Hey Farai, > > So close! :) > > In the userCredentials object you have set a name property. > > "name": "Farai_Mutero", > > But there is no such property on that

[Dhis2-devs] Data Integrity Checks

2015-08-17 Thread Ant Snyman
Dear All, DHIS2 vesrion 2.20 snapshot, build 19527 The data integrity checks showed some "orphaned" org units which should not have been on the system. So I wrote scripts to clean out the org units and checked all 37 tables that either reference organisationunitid or sourceid and cleaned out all

Re: [Dhis2-devs] [Dhis2-users] Data Integrity Checks

2015-08-17 Thread Ant Snyman
LarsI have finally solved the puzzle...I suspect that the person importing these org units misaligned the formatting because the uids were actually loaded in the org unit name column and what I thought were the uids were actually the "org unit names". I should have picked that up straight away

Re: [Dhis2-devs] [Dhis2-users] Data Integrity Checks

2015-08-17 Thread Aanyo Melo AHIAGNO
Hello Can you try, to do the something on the another browser ??? AHIAGNO Aanyo HISP WA0022890962285 Date: Sun, 16 Aug 2015 08:41:13 +0200 From: a...@hisp.org To: larshe...@gmail.com CC: dhis2-us...@lists.launchpad.net; dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-users] Data Integrity Che

Re: [Dhis2-devs] [Dhis2-users] Data Integrity Checks

2015-08-17 Thread Ant Snyman
Thanks Lars or your response. Yes I did clear cache statistics as well as browser cache. How does the application determine orphaned organisationunits? Organisationunits without a parentid? Or a parentid that does not exist? Regards Ant On 16 August 2015 at 07:20, Lars Helge Øverland wrote: >

Re: [Dhis2-devs] [Dhis2-users] Data Integrity Checks

2015-08-17 Thread Ant Snyman
Thank you for your response. I have sorted out the problem and it was neither cache nor browser related. Regards Ant Snyman On 16 August 2015 at 09:15, Aanyo Melo AHIAGNO wrote: > Hello > > Can you try, to do the something on the another browser ??? > > AHIAGNO Aanyo > HISP WA > 0022890962285 >

Re: [Dhis2-devs] Need help in Program Rules

2015-08-17 Thread Neeraj Gupta
Thanks Markus. On Mon, Aug 17, 2015 at 1:37 PM, Markus Bekken wrote: > Hi Neeraj. > This kind of cross validation rules is half way supported already, and the > full support is right around the corner. The program rule can be created in > the editor, it is being run - but how to display the erro

Re: [Dhis2-devs] [Bug 1471816] [NEW] constant_does_not_exist Message in Data Integrity Report

2015-08-17 Thread hardingt
DHIS2, Any word on this? [image: Inline image 1] I pulled this from the SL Demo. Timothy Harding RPCV Vanuatu Skype: hardi...@gmail.com +1 (541) 632-6623 On Mon, Jul 6, 2015 at 7:01 AM, hardingt wrote: > Public bug reported: > > Hello Devs, > > I was able to recreate this in SL stable demo s

[Dhis2-devs] DHIS 2 Revision from Deployed App

2015-08-17 Thread Dan Cocos
Hi All, I thought this would be a straightforward task but it appears to require arcane knowledge. I’m working with a few instances where I don’t have a DHIS 2 User account on the server I’m hosting so I cannot look at the About page but I would like to know the revision of the build. Checki

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19772: Made DataDimensionItem.getNameableObject return null instead of throwing exception.

2015-08-17 Thread noreply
revno: 19772 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-08-17 16:24:47 -0400 message: Made DataDimensionItem.getNameableObject return null instead of throwing exception. modified: dhis-2/dhis-api/src/main/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19773: Import fixes for DataDimensionItem, properly attached/detach DDI collections on AnalyticalObjects...

2015-08-17 Thread noreply
revno: 19773 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2015-08-18 13:24:56 +0700 message: Import fixes for DataDimensionItem, properly attached/detach DDI collections on AnalyticalObjects, and updates references

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19774: minor

2015-08-17 Thread noreply
revno: 19774 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2015-08-18 13:28:46 +0700 message: minor modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdenti