dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51899
Re: Some issues with metadata dependency export
Hi Nick
Could you create a JIRA issue for this?
--
Morten Olav Hansen
Senior Engineer, DHIS 2
Team Integration Lead
University of Oslo
http://www.dhis2.org
On Mon, Oct 15, 2018 at 11:51 PM Shurajit Dutta <shurajitdutta@xxxxxxxxx>
wrote:
>
> Hi everyone
>
> I recently ran into some issues using the new import/export app in 2.30.
> Everything was re-tested on play.dhis2.org/2.30 after trying on my own
> instances. Could you let me know any feedback?
>
> Unable to run the metadata dependency export through the UI
>
> [image: image.png]
>
> Steps to reproduce:
>
> Programs
> Select any program
> Format - JSON
> Compression - Uncompressed
>
> [image: image.png]
>
> I would use this so I could view the export in the browser before export,
> or if I want to slightly modify the call prior to exporting.
>
> 2. There is no option to perform a metadata dependency export without
> sharing like there is for the regular meta-data export. I tried something
> like the following to exclude the sharing
>
>
> http://172.16.105.216:8082/api/programs/SSLpOM0r1U7/metadata.json?attachment=metadataDependency.json&fields=!user,!publicAccess,!userGroupAccesses
>
> but could not get it to exclude all the sharing; in this case perhaps my
> call is just incorrect but it would be preferable if there was an option
> through the UI
>
> 3. When you import and something goes wrong the log is not very
> descriptive. You have to look in the browser console and even this does not
> seem to be very descriptive. For example, here is a file that does not
> import properly. Everything seems to be ignored and I am not exactly sure
> why from this message (this is a problem with the default categorycombo I
> believe)
>
> [image: image.png]
>
> In <=2.29 it would give you a fair amount of detail as to what was wrong,
> duplicated or incorrectly referenced and wondering if that will make a
> comeback?
>
> [image: image.png]
>
> Thanks
> Nick
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References