[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21908: Javadoc

2016-02-08 Thread noreply
Merge authors: Lars Helge Øverland (larshelge) revno: 21908 [merge] committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-02-08 16:37:12 +0100 message: Javadoc modified:

Re: [Dhis2-devs] Problem with session factory and hibernate

2016-02-08 Thread Yrjan Aleksander Frøyland Fraschetti
We are testing it through the UI, and we had forgotten to use @Transactional. Unfortunately it seems that @Transaction has the same effect as flush(). Any ideas? Regards, Yrjan Fraschetti > 8. feb. 2016 kl. 15.59 skrev Lars Helge Øverland : > > Hi, > > are you testing this

Re: [Dhis2-devs] API Call for Append Single Addition or Single Subtraction

2016-02-08 Thread Morten Olav Hansen
Down to 2.20 at least On Mon, Feb 8, 2016 at 4:51 PM, Timothy Harding wrote: > Awesome, Thank you Jason and Morten, > > I will give those a shot. Thanks for the fast response. Do you know off > hand how far back do these go version wise? > > > *Timothy Harding* > Sr.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21906: event-capture: update to appcache

2016-02-08 Thread noreply
revno: 21906 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-02-08 12:54:36 +0100 message: event-capture: update to appcache modified:

Re: [Dhis2-devs] [Android] Sdk method count

2016-02-08 Thread Nhan Cao
Hi Araz Abishov, Thank for your support. That way I usually do in my project when release or limit dex and avoid view/copy code. In first email I had mention >>> Who can provide me a proguard file to reduce it. I just need content proguard some lib of dhis2-sdk. Anyway, I has removed some lib

Re: [Dhis2-devs] API Call for Append Single Addition or Single Subtraction

2016-02-08 Thread Morten Olav Hansen
Hi We have a simple API for adding/removing a -single- object from a collection [1]. That would probably help you? PATCH support is still a bit flaky sadly, and really only works for primitives, I'm hoping to add fixes to it in 2.23/2.24. [1]

Re: [Dhis2-devs] API Call for Append Single Addition or Single Subtraction

2016-02-08 Thread Jason Pickering
Hi Tim, I think this should work Remove a single data element: curl -X DELETE -u admin:district https://play.dhis2.org/dev/api/dataSets/lyLU2wR22tC/dataElements/a5MxE5H7d3q Add it back: curl -X POST -u admin:district https://play.dhis2.org/dev/api/dataSets/lyLU2wR22tC/dataElements/a5MxE5H7d3q

Re: [Dhis2-devs] API Call for Append Single Addition or Single Subtraction

2016-02-08 Thread Timothy Harding
Awesome, Thank you Jason and Morten, I will give those a shot. Thanks for the fast response. Do you know off hand how far back do these go version wise? *Timothy Harding* Sr. Systems Analyst, BAO Systems +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | Skype:

Re: [Dhis2-devs] [Android] Sdk method count

2016-02-08 Thread Araz Abishov
Hello Nhan, I am sorry for responding late. Some suggestions are below: As a hacky solution, you can try to use default proguard configuration for debug builds. (android studio includes it by default when you create a new project).  If you have removed it, you need to modify your gradle build

[Dhis2-devs] API Call for Append Single Addition or Single Subtraction

2016-02-08 Thread Timothy Harding
Hello Devs, I've looked at the following but I think my ask is slightly different: http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s10.html#d5e875 Ive got a data element group with a fair amount of data elements in it. Rather than downloading the whole thing, appending to that

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21901: automatic preheating when creating object bundles

2016-02-08 Thread noreply
revno: 21901 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2016-02-08 15:21:50 +0700 message: automatic preheating when creating object bundles modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21902: minor generics update

2016-02-08 Thread noreply
revno: 21902 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2016-02-08 15:44:43 +0700 message: minor generics update modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21904: tracker-capture: load program attribute categories in data entry widget

2016-02-08 Thread noreply
revno: 21904 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-02-08 09:54:46 +0100 message: tracker-capture: load program attribute categories in data entry widget modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21903: tracker-capture: fetch program attribute categories

2016-02-08 Thread noreply
revno: 21903 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-02-08 09:53:25 +0100 message: tracker-capture: fetch program attribute categories modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21905: tracker-capture: program attribute category - WIP

2016-02-08 Thread noreply
revno: 21905 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-02-08 12:15:05 +0100 message: tracker-capture: program attribute category - WIP modified:

Re: [Dhis2-devs] Event Reports - Data of Last Event

2016-02-08 Thread Pamod Amarakoon
Hi, Any update on this. On Thu, Feb 4, 2016 at 10:09 AM, Pamod Amarakoon wrote: > Hi, > > Is it possible to consider the data of last event in a repeatable program > stage during analysis. > > The use case is as follows. > > We have a repeatable program stage which measures

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Morten Olav Hansen
Hi again So it means it working now? as long as you make sure that catcombo is attached, and cache is cleared? On Tue, Feb 9, 2016 at 1:40 PM, Timothy Harding wrote: > JM, > > Thanks for the response! > > I see what you mean about still reading from the cache, I should

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Timothy Harding
Yup! Fixing the catcombos on all the data elements and clearing the cache does the trick. Changing the frequency worked because altering the dataset in any way seems to trigger a refresh in the browser, so it was a false correlation on my part :(. So Yes, making sure all the data elements have

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

2016-02-08 Thread noreply
revno: 21910 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2016-02-09 09:36:36 +0700 message: minor modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/preheat/PreheatException.java

[Dhis2-devs] Data Synchronization of data values and comments not consistent.

2016-02-08 Thread Archana Chillala
Hi, We have two instances of DHIS2 running on version - 2.21 and revision - 21021. Both instances have same metadata (through metadata import-export). The data entry is done from one instance and synced to the other through data synchronisation. While entering values for a data element, we also

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21911: Adds PreheatService.checkReferences + tests

2016-02-08 Thread noreply
revno: 21911 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2016-02-09 12:50:33 +0700 message: Adds PreheatService.checkReferences + tests added:

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Timothy Harding
JM, Thanks for the response! I see what you mean about still reading from the cache, I should have completely cleared it out between tests. It is odd, it usually takes making one minor update to a dataset (even just having the 'lastUpdated' change) to trigger a complete refresh in the data entry

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Timothy Harding
If it helps here is the about page on my test box: [image: Inline image 1] And here is the three DEs and the parent dataset in XML form: *Timothy Harding* Sr. Systems Analyst, BAO Systems +1 202-536-1541 | thard...@baosystems.com | http://www.baosystems.com | Skype: hardi...@gmail.com | 2900

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Morten Olav Hansen
Yeah, this bug exist in frontend and backend.. it should have worked as long as the catcombo was set though, so will look into that On Tue, Feb 9, 2016 at 10:55 AM, Timothy Harding wrote: > If it helps here is the about page on my test box: > > [image: Inline image 1]

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Timothy Harding
Thanks Morten, Not sure what I did to fix it, but I changed the period from days to months and the form appeared. Then I changed it back to days, and it still appeared ::confused [image: Inline image 1] *Timothy Harding* Sr. Systems Analyst, BAO Systems +1 202-536-1541 |

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Morten Olav Hansen
Hm, that's interesting.. datasets are still using the old UI, so it should function as before.. anyways, looking into it On Tue, Feb 9, 2016 at 11:04 AM, Timothy Harding wrote: > Thanks Morten, > > Not sure what I did to fix it, but I changed the period from days to >

Re: [Dhis2-devs] Unknown issue on Play-Demo

2016-02-08 Thread Juan Manuel Alcantara Acosta
Hi Everyone I noticed this problem lat week in the demo server, looking at the database I can confirm that the data elements are created without categorycomboid if the category combination is left with the default. The data element is created correctly if any of the available category

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21912: bug fix in future date of program stage data elements and program attributes

2016-02-08 Thread noreply
revno: 21912 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2016-02-09 08:36:15 +0100 message: bug fix in future date of program stage data elements and program attributes modified:

[Dhis2-devs] Problem with session factory and hibernate

2016-02-08 Thread Yrjan Aleksander Frøyland Fraschetti
I have a problem with session factory and saving objects to the database using hibernate. The problem is that when I use sessionFactory.getCurrentSession().save(object), nothing is persisted. If I use a flush() after the save the object is persisted, but the next time an object is saved to the

Re: [Dhis2-devs] Problem with session factory and hibernate

2016-02-08 Thread Lars Helge Øverland
Hi, are you testing this through the UI - if so did you remember to add @Transactional to the service layer class to enable transactions? This is necessary for modifications to be persisted in db. regards, Lars On Mon, Feb 8, 2016 at 3:57 PM, Yrjan Aleksander Frøyland Fraschetti <

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21907: minor style change

2016-02-08 Thread noreply
revno: 21907 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-02-08 16:14:39 +0100 message: minor style change modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21909: Minor

2016-02-08 Thread noreply
revno: 21909 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-02-08 19:43:58 +0100 message: Minor modified:

Re: [Dhis2-devs] quick question re tracker capture

2016-02-08 Thread Craig Hollingsworth
Hi, There is an option at program level to indicate whether future enrolment/incident dates are allowed, however in my case I am creating an attribute of type date and the widget does then not allow future dates. The use case is that we are exploring use of tracker to manage some

[Dhis2-devs-core] stackexchange tag

2016-02-08 Thread Lars Helge Øverland
Hi, we do have a dhis2 tag on stackexchange under the webmasters community. It would be good if you could monitor and check our questions from time to time: http://webmasters.stackexchange.com/questions/tagged/dhis2 Note that the moderators there like answers which are concise and actually

[Dhis2-devs] Error while removing a DataElement from a ProgramStage (2.20)

2016-02-08 Thread Jose Garcia Muñoz
Hi devs, We get an exception each time we want to remove a particular data element from its program (programstage). It seems that does not matter if the datalement has a trackedentityvalue or not (and it shouldn't matter right?). We are running 2.20 (revision 19968). It works fine for 2.22, but