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

2018-10-05 Thread Norberto Banze
Much appreciated Muhammad,

I will be looking forward to hearing from you.

Best,
NB

From: Muhammad Adeel 
Sent: Friday, October 5, 2018 7:09 PM
To: norbertoba...@live.com
Cc: DHIS 2 Developers list; 
dhis2-devs-bounces+samuel.johnson=qebo.co...@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 
mailto:norbertoba...@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 mailto:ad...@dhis2.org>>
Sent: Friday, October 5, 2018 1:43 PM
To: norbertoba...@live.com
Cc: DHIS 2 Developers list; 
dhis2-devs-bounces+samuel.johnson=qebo.co...@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 
mailto:norbertoba...@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
___
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


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

2018-10-05 Thread Muhammad Adeel
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 
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 
> *Sent:* Friday, October 5, 2018 1:43 PM
> *To:* norbertoba...@live.com
> *Cc:* DHIS 2 Developers list; dhis2-devs-bounces+samuel.johnson=
> qebo.co...@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 
> 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
>
>
___
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


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

2018-10-05 Thread Morten Olav Hansen
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  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 
> 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
>>
> ___
> 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
>
___
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


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

2018-10-05 Thread Muhammad Adeel
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 
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
>
___
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


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

2018-10-05 Thread Muhammad Adeel
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 
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
>
___
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


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

2018-10-05 Thread Norberto Banze
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


[Dhis2-devs] Issue while assigning an attribute

2018-10-05 Thread gourav sachdeva
Hello All,

I am trying to assign an attribute to a user but it is not assigning.
Looking forward to your response.

Dhis2 Version Details are as follows

Dhis2 Version 2.30,
Build Revision Number: 05feb41


-- 
*Thanks & Regards,*

*Gourav Sachdeva*
___
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