Re: [Dhis2-users] API 2.25: Return Full Property Set

2016-12-16 Thread Ocaya Stephen
Dear Uwe, This is a json issue. Recently i had guidance from lars that the xml returns even the empty properties. Apparently, suggestions in the link below talks of leaving out properties with null values. https://google.github.io/styleguide/jsoncstyleguide.xml The only work around: 1. Try usi

Re: [Dhis2-users] API 2.25: Return Full Property Set

2016-12-16 Thread Uwe Wahser
Hi Jason, It's not new - I had that problem already last year, but managed to work around. Now I wanted to use more properties and the workaround doesn't work for that. I had decided against csv back then, but forgot why. Must have been a good reason, because normally I prefer csv :-) I a

Re: [Dhis2-users] Event Capture - Search for an event in all Events of the selected Program

2016-12-16 Thread Antonia - Pro
Hi Lars, many thanks for your activity for the improvement of the Searching and sorting of events in the Event Capture App *JIRA (DHIS2-254) Search for an event in all Events of the selected Program, (DHIS2-149) Searching and sorting of events.* Is it already ported to the c. 2.25? If not, when i

Re: [Dhis2-users] Event Capture - Search for an event in all Events of the selected Program

2016-12-16 Thread Antonia - Pro
Hi Lars, many thanks for your activity for the improvement of the Searching and sorting of events in the Event Capture App *JIRA (DHIS2-254) Search for an event in all Events of the selected Program, (DHIS2-149) Searching and sorting of events.* Is it already ported to the c. 2.25? If not, when i

Re: [Dhis2-users] API 2.25: Return Full Property Set

2016-12-16 Thread Jason Pickering
Hi Uwe, OK, I sort of see the problem you have, but am pretty sure its not a DHIS2 problem. Are you saying that this is new behaviour, and it was not like this before? I just checked an old instance I have which is running 2.17, and it is exactly the same, so not sure this has changed any time i

Re: [Dhis2-users] API 2.25: Return Full Property Set

2016-12-16 Thread Uwe Wahser
Hi Jason, simple example: https://play.dhis2.org/demo/api/organisationUnits.json?paging=false&filter=level:eq:3&fields=name,comment What I'd expect would be a json package with name & comment for ALL organisationUnits, even when the comment is NULL. What I get is a comment property for Badjia

Re: [Dhis2-users] Sharing settings for data set reset when new org units assigned

2016-12-16 Thread Shurajit Dutta
Thanks Lars, will do On Fri, Dec 16, 2016 at 3:06 PM, Lars Helge Ă˜verland wrote: > Hi Nick, > > thanks for reporting and reproducing the issue. Can you please report it > on JIRA together with the exact steps for > reproducing it? > > regards, > > Lars > > > On Fri, Dec

Re: [Dhis2-users] Sharing settings for data set reset when new org units assigned

2016-12-16 Thread Antonia - Pro
It happens to me the same thins with the s*haring settings of the favorites in the Event Report tables*. On the ver. 2.22, we used before the settings do not changed when change the name or overwrite the table, on the v.2.25 the sharing settings are reset on every change. 2016-12-16 10:01 GMT+01:

Re: [Dhis2-users] API 2.25: Return Full Property Set

2016-12-16 Thread Jason Pickering
Hi Uwe, Could you give a specific example from the demo server with an API call, and what is not working as you expect? Regards, Jason On Fri, Dec 16, 2016 at 8:48 AM, Uwe Wahser wrote: > Sorry, on a closer look it only seems to work for empty collections. > Properties of the object itself (e.

Re: [Dhis2-users] Sharing settings for data set reset when new org units assigned

2016-12-16 Thread Knut Staring
I really like the video, Nick. May not always be needed of course, but very good way of documenting complex bugs. On Dec 16, 2016 09:32, "Shurajit Dutta" wrote: > After further testing this seems to happen after I update an object. Have > tried with category options, categories and data sets. I

Re: [Dhis2-users] Sharing settings for data set reset when new org units assigned

2016-12-16 Thread Lars Helge Ă˜verland
Hi Nick, thanks for reporting and reproducing the issue. Can you please report it on JIRA together with the exact steps for reproducing it? regards, Lars On Fri, Dec 16, 2016 at 5:34 AM, Shurajit Dutta wrote: > Hi everyone, > > I notice that if I set up sharing setti

Re: [Dhis2-users] Sharing settings for data set reset when new org units assigned

2016-12-16 Thread Shurajit Dutta
After further testing this seems to happen after I update an object. Have tried with category options, categories and data sets. I add sharing settings, change something (like the name field, or assign a new org unit, etc.) save/update the object and then sharing is reset. The user groups are still