← Back to team overview

dhis2-devs team mailing list archive

Re: Metadata import not working v2.30

 

Hi

As a possible workaround, you can also use the command line...

curl -X POST -d @filename.xml -H "Content-Type: application/xml" -u
username:password http://server/api/metadata

That should give you the full error report

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
Team Integration Lead
University of Oslo
http://www.dhis2.org


On Fri, Oct 5, 2018 at 5:13 PM Muhammad Adeel <adeel@xxxxxxxxx> wrote:

> Hi Norberto,
>
> Sorry about the last email subject had *DHIS v2.30*.
> I am consulting with Backend devs to look at this issue.
> If you can forward us the XML file we can validate the import as well.
>
> Regards,
> Adeel
>
> On Fri, Oct 5, 2018 at 11:37 AM Norberto Banze <norbertobanze@xxxxxxxx>
> wrote:
>
>> Hi Devs,
>>
>> I am having issues importing data using xml file. The report I get from
>> the LOGGER is that all metadata have been ignored but it doesn't' give me
>> any report with errors.
>>
>> Can someone help with this.
>>
>> I have downloaded category options in XML format and edited public access
>> from rw to rwrw because I want all users to be able to edit and view
>> metadata and capture and view data. The quicker way I found to edit the
>> sharing access on all categories was through this process. But when i try
>> to upload the file no success and no error.
>>
>> Best,
>> NB
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
>

References