Re: [Dhis2-devs] Error POSTing programs metadata

2015-04-01 Thread Morten Olav Hansen
Hi Shilpa So the rules can be a bit cryptic when using the metadata importer directly and not the UI (we are hoping to have more intelligent validation in 2.20/2.21), bur the rules are: 1) All ProgramStageDataElements (PSDE) must be present in ProgramStage.PSDE (regardless of which section they b

Re: [Dhis2-devs] Error POSTing programs metadata

2015-03-31 Thread Morten Olav Hansen
On Tue, Mar 31, 2015 at 3:53 PM, Shilpa Goley wrote: > "programStageDataElements": [ > { > "id": "a36531ccdvv", > "name": "Arrival Date - Burn Unit" > } > ], > Just to confirm, this is pointing to an

Re: [Dhis2-devs] Error POSTing programs metadata

2015-03-30 Thread Morten Olav Hansen
Hi Mahendra This is not actually a bug, it was decided a few days ago that would change programStageDataElement from being a "normal" java object to being a id-object, which means you will have to go through the usual payload changes. Basically, now you have to have this: { "programStageDataEle

Re: [Dhis2-devs] Error POSTing programs metadata

2015-03-30 Thread Morten Olav Hansen
Could you please try again with rev 18738 -- Morten On Sat, Mar 28, 2015 at 12:42 AM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi, > > I was just wondering if someone got time to take a look at this. > > On Tue, Mar 24, 2015 at 11:59 AM, Mahendra Kariya < > mahendra.kar...@th