What version if DHIS and which endpoint are you using?

On Wednesday, 31 August 2016, Victor Garcia <[email protected]> wrote:

> Hi all,
>
> we have found a strange behavior in the new metadata importer.
>
> Let's create two related orgunits, "Project" (parent) and "Health Site"
> (child), and export them using the new exporter which defaults to order by
> 'name'. The payload will contain "Project" first and "Health Site" later.
>
> Then, if we import the file in another instance using the new importer, it
> gives us the following:
> 1. Project orgunit is correctly imported.
> 2. Health Site orgunit is imported, but the "parent" field is left empty,
> and also the path is wrong. In fact, it is created as another *root
> orgunit!*
>
> I don't know if the new importer expects ordered elements, but this
> behavior is quite dangerous... We test the same file with old importer, and
> it works fine.
>
> You can find attached a payload that can be used with demo server (it
> hangs from Sierra Leone orgunit).
>
> Regards,
>
> VĂ­ctor
>


-- 
-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to