Metadata import not working v2.30

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

1 Like

Hi Norberto,

  • Which version of DHIS2 are you using
  • Can you please forward the XML file you are importing

Regards,

Adeel

···

On Fri, Oct 5, 2018 at 11:37 AM Norberto Banze norbertobanze@live.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

1 Like

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@live.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

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

1 Like

Hi Muhammad,

Sorry for my late reply, I was very busy this afternoon.

Please find attached the XML file.

Best,

NB

metadata.xml (211 KB)

···

From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 1:43 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

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@live.com 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@lists.launchpad.net

Unsubscribe :
https://launchpad.net/~dhis2-devs

More help :
https://help.launchpad.net/ListHelp

Hi Norberto,

One of our backend engineers is looking into this issue, to see why log entries are not retrieved from the backend

**Example **https://play.dhis2.org/2.30/api/29/system/tasks/METADATA_IMPORT?lastId=lZIjHzBgdLc

lastId in the above URL is **lZIjHzBgdLc. **API request to the endpoint should return entries after record lZIjHzBgdLc

We will keep you updated as we debug this issue.

Kind Regards,

Adeel

···

On Fri, Oct 5, 2018 at 6:51 PM Norberto Banze norbertobanze@live.com wrote:

Hi Muhammad,

Sorry for my late reply, I was very busy this afternoon.

Please find attached the XML file.

Best,

NB


From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 1:43 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

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@live.com 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@lists.launchpad.net

Unsubscribe :
https://launchpad.net/~dhis2-devs

More help :
https://help.launchpad.net/ListHelp

1 Like

Much appreciated Muhammad,

I will be looking forward to hearing from you.

Best,

NB

···

From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 7:09 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

Hi Norberto,

One of our backend engineers is looking into this issue, to see why log entries are not retrieved from the backend

**Example **https://play.dhis2.org/2.30/api/29/system/tasks/METADATA_IMPORT?lastId=lZIjHzBgdLc

lastId in the above URL is **lZIjHzBgdLc. **API request to the endpoint should return entries after record lZIjHzBgdLc

We will keep you updated as we debug this issue.

Kind Regards,

Adeel

On Fri, Oct 5, 2018 at 6:51 PM Norberto Banze norbertobanze@live.com wrote:

Hi Muhammad,

Sorry for my late reply, I was very busy this afternoon.

Please find attached the XML file.

Best,

NB

From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 1:43 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

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@live.com 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@lists.launchpad.net

Unsubscribe :
https://launchpad.net/~dhis2-devs

More help :
https://help.launchpad.net/ListHelp


Hi Norberto,

We have added support for Task Summaries in our Import/Export app. Code should get packaged soon.

···

On Fri, Oct 5, 2018 at 7:14 PM Norberto Banze norbertobanze@live.com wrote:

Much appreciated Muhammad,

I will be looking forward to hearing from you.

Best,

NB


From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 7:09 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

Hi Norberto,

One of our backend engineers is looking into this issue, to see why log entries are not retrieved from the backend

**Example **https://play.dhis2.org/2.30/api/29/system/tasks/METADATA_IMPORT?lastId=lZIjHzBgdLc

lastId in the above URL is **lZIjHzBgdLc. **API request to the endpoint should return entries after record lZIjHzBgdLc

We will keep you updated as we debug this issue.

Kind Regards,

Adeel

On Fri, Oct 5, 2018 at 6:51 PM Norberto Banze norbertobanze@live.com wrote:

Hi Muhammad,

Sorry for my late reply, I was very busy this afternoon.

Please find attached the XML file.

Best,

NB


From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 1:43 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

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@live.com 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@lists.launchpad.net

Unsubscribe :
https://launchpad.net/~dhis2-devs

More help :
https://help.launchpad.net/ListHelp

Thank you Muhammad.

···

From: Muhammad Adeel adeel@dhis2.org

Sent: Tuesday, October 16, 2018 2:36 PM

To: Norberto Banze

Cc: DHIS 2 Developers list; Dhis2-devs

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

Hi Norberto,

We have added support for Task Summaries in our Import/Export app. Code should get packaged soon.

On Fri, Oct 5, 2018 at 7:14 PM Norberto Banze norbertobanze@live.com wrote:

Much appreciated Muhammad,

I will be looking forward to hearing from you.

Best,

NB

From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 7:09 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

Hi Norberto,

One of our backend engineers is looking into this issue, to see why log entries are not retrieved from the backend

**Example **https://play.dhis2.org/2.30/api/29/system/tasks/METADATA_IMPORT?lastId=lZIjHzBgdLc

lastId in the above URL is **lZIjHzBgdLc. **API request to the endpoint should return entries after record lZIjHzBgdLc

We will keep you updated as we debug this issue.

Kind Regards,

Adeel

On Fri, Oct 5, 2018 at 6:51 PM Norberto Banze norbertobanze@live.com wrote:

Hi Muhammad,

Sorry for my late reply, I was very busy this afternoon.

Please find attached the XML file.

Best,

NB

From: Muhammad Adeel adeel@dhis2.org

Sent: Friday, October 5, 2018 1:43 PM

To: norbertobanze@live.com

Cc: DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.launchpad.net

Subject: Re: [Dhis2-devs] Metadata import not working v2.30

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@live.com 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@lists.launchpad.net

Unsubscribe :
https://launchpad.net/~dhis2-devs

More help :
https://help.launchpad.net/ListHelp