Re: [Dhis2-devs] Issue with /api/reportTables api

2016-04-19 Thread Aamer Mohammed
Hi Lars,

Thanks for the quick fix. Could you backport it to 2.21 as well.

Thanks
Aamer.

On Mon, Apr 18, 2016 at 5:48 PM, Lars Helge Øverland  wrote:

>
> Okay now I see what you mean.
>
> Fixed now in trunk and 2.22.
>
> regards,
>
> Lars
>
>
>
>
>
>
>
>
>
> On Mon, Apr 18, 2016 at 1:36 PM, Aamer Mohammed 
> wrote:
>
>> Hi Lars,
>>
>> I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC
>> Coverages Quarterly' has below data
>> [image: Inline image 1]
>>
>>
>> Whereas the api
>> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.
>> json
>> is not giving the same data. Could you please check and confirm.
>>
>> Thanks
>> Aamer.
>>
>>
>> On Fri, Apr 15, 2016 at 8:20 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Aamer,
>>>
>>> this seems to work as expected in 2.22 / on demo. Can you try to
>>> reproduce there? If not, can you upgrade to 2.22?
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>> On Tue, Apr 12, 2016 at 4:54 PM, Jan Henrik Øverland <
>>> janhenrik.overl...@gmail.com> wrote:
>>>
 Seems relative periods are rewinded by one period. "This quarter"
 returns Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be
 fixed.

 On 12 April 2016 at 11:06, Aamer Mohammed 
 wrote:

>
> I checked in play.dhis2.org also. I am seeing the same issue.
> For the reportTable, "ANC: Coverages Quarterly" last row data is not
> being retrieved by the api
> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json
>
> Is it a known issue?
>
>
> On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
> wrote:
>
>> Hm, I take that back.. seems both are included.. seems strange
>>
>> --
>> Morten
>>
>> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen > > wrote:
>>
>>> Hm, seems March 2015 is included instead of March 2016... not sure
>>> if it's a known issue or not, but seems like a bug, Lars will know 
>>> better
>>> (maybe it's fixed already)
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <
>>> aam...@thoughtworks.com> wrote:
>>>
 Hi Devs,

 We have seen the below issue when working with /api/reportTables
 api. We are using DHIS 2.21 build revision 21058.
 The reportTable as seen in DHIS app is as below.

 [image: Inline image 1]

 However when we try to fetch the data for the same report Table
 through /api/reportTables//data.html api we are not getting entire
 data. The data for last row is not retrieved through api (json response
 attached)
 Is anyone else facing this issue? Any observations please.

 Thanks
 Aamer.




>>>
>>
>
> ___
> 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


>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> http://www.dhis2.org 
>>>
>>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org 
>
>
___
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] Issue with /api/reportTables api

2016-04-18 Thread Lars Helge Øverland
Okay now I see what you mean.

Fixed now in trunk and 2.22.

regards,

Lars









On Mon, Apr 18, 2016 at 1:36 PM, Aamer Mohammed 
wrote:

> Hi Lars,
>
> I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC
> Coverages Quarterly' has below data
> [image: Inline image 1]
>
>
> Whereas the api
> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.
> json
> is not giving the same data. Could you please check and confirm.
>
> Thanks
> Aamer.
>
>
> On Fri, Apr 15, 2016 at 8:20 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Aamer,
>>
>> this seems to work as expected in 2.22 / on demo. Can you try to
>> reproduce there? If not, can you upgrade to 2.22?
>>
>> regards,
>>
>> Lars
>>
>>
>> On Tue, Apr 12, 2016 at 4:54 PM, Jan Henrik Øverland <
>> janhenrik.overl...@gmail.com> wrote:
>>
>>> Seems relative periods are rewinded by one period. "This quarter"
>>> returns Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be
>>> fixed.
>>>
>>> On 12 April 2016 at 11:06, Aamer Mohammed 
>>> wrote:
>>>

 I checked in play.dhis2.org also. I am seeing the same issue.
 For the reportTable, "ANC: Coverages Quarterly" last row data is not
 being retrieved by the api
 https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json

 Is it a known issue?


 On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
 wrote:

> Hm, I take that back.. seems both are included.. seems strange
>
> --
> Morten
>
> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
> wrote:
>
>> Hm, seems March 2015 is included instead of March 2016... not sure if
>> it's a known issue or not, but seems like a bug, Lars will know better
>> (maybe it's fixed already)
>>
>> --
>> Morten
>>
>> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <
>> aam...@thoughtworks.com> wrote:
>>
>>> Hi Devs,
>>>
>>> We have seen the below issue when working with /api/reportTables
>>> api. We are using DHIS 2.21 build revision 21058.
>>> The reportTable as seen in DHIS app is as below.
>>>
>>> [image: Inline image 1]
>>>
>>> However when we try to fetch the data for the same report Table
>>> through /api/reportTables//data.html api we are not getting entire
>>> data. The data for last row is not retrieved through api (json response
>>> attached)
>>> Is anyone else facing this issue? Any observations please.
>>>
>>> Thanks
>>> Aamer.
>>>
>>>
>>>
>>>
>>
>

 ___
 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
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org 
>>
>>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
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] Issue with /api/reportTables api

2016-04-18 Thread Aamer Mohammed
Hi Lars,

I checked on demo (Version 2.22, Revision 21999). The reportTable 'ANC
Coverages Quarterly' has below data
[image: Inline image 1]


Whereas the api
https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.
json
is not giving the same data. Could you please check and confirm.

Thanks
Aamer.


On Fri, Apr 15, 2016 at 8:20 PM, Lars Helge Øverland  wrote:

> Hi Aamer,
>
> this seems to work as expected in 2.22 / on demo. Can you try to reproduce
> there? If not, can you upgrade to 2.22?
>
> regards,
>
> Lars
>
>
> On Tue, Apr 12, 2016 at 4:54 PM, Jan Henrik Øverland <
> janhenrik.overl...@gmail.com> wrote:
>
>> Seems relative periods are rewinded by one period. "This quarter" returns
>> Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be fixed.
>>
>> On 12 April 2016 at 11:06, Aamer Mohammed 
>> wrote:
>>
>>>
>>> I checked in play.dhis2.org also. I am seeing the same issue.
>>> For the reportTable, "ANC: Coverages Quarterly" last row data is not
>>> being retrieved by the api
>>> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json
>>>
>>> Is it a known issue?
>>>
>>>
>>> On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
>>> wrote:
>>>
 Hm, I take that back.. seems both are included.. seems strange

 --
 Morten

 On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
 wrote:

> Hm, seems March 2015 is included instead of March 2016... not sure if
> it's a known issue or not, but seems like a bug, Lars will know better
> (maybe it's fixed already)
>
> --
> Morten
>
> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <
> aam...@thoughtworks.com> wrote:
>
>> Hi Devs,
>>
>> We have seen the below issue when working with /api/reportTables api.
>> We are using DHIS 2.21 build revision 21058.
>> The reportTable as seen in DHIS app is as below.
>>
>> [image: Inline image 1]
>>
>> However when we try to fetch the data for the same report Table
>> through /api/reportTables//data.html api we are not getting entire
>> data. The data for last row is not retrieved through api (json response
>> attached)
>> Is anyone else facing this issue? Any observations please.
>>
>> Thanks
>> Aamer.
>>
>>
>>
>>
>

>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org 
>
>


api_data.json
Description: application/json
___
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] Issue with /api/reportTables api

2016-04-15 Thread Lars Helge Øverland
Hi Aamer,

this seems to work as expected in 2.22 / on demo. Can you try to reproduce
there? If not, can you upgrade to 2.22?

regards,

Lars


On Tue, Apr 12, 2016 at 4:54 PM, Jan Henrik Øverland <
janhenrik.overl...@gmail.com> wrote:

> Seems relative periods are rewinded by one period. "This quarter" returns
> Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be fixed.
>
> On 12 April 2016 at 11:06, Aamer Mohammed  wrote:
>
>>
>> I checked in play.dhis2.org also. I am seeing the same issue.
>> For the reportTable, "ANC: Coverages Quarterly" last row data is not
>> being retrieved by the api
>> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json
>>
>> Is it a known issue?
>>
>>
>> On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
>> wrote:
>>
>>> Hm, I take that back.. seems both are included.. seems strange
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
>>> wrote:
>>>
 Hm, seems March 2015 is included instead of March 2016... not sure if
 it's a known issue or not, but seems like a bug, Lars will know better
 (maybe it's fixed already)

 --
 Morten

 On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed <
 aam...@thoughtworks.com> wrote:

> Hi Devs,
>
> We have seen the below issue when working with /api/reportTables api.
> We are using DHIS 2.21 build revision 21058.
> The reportTable as seen in DHIS app is as below.
>
> [image: Inline image 1]
>
> However when we try to fetch the data for the same report Table
> through /api/reportTables//data.html api we are not getting entire
> data. The data for last row is not retrieved through api (json response
> attached)
> Is anyone else facing this issue? Any observations please.
>
> Thanks
> Aamer.
>
>
>
>

>>>
>>
>> ___
>> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
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] Issue with /api/reportTables api

2016-04-12 Thread Jan Henrik Øverland
Seems relative periods are rewinded by one period. "This quarter" returns
Apr-Jun in the pivot table, but Jan-Mar in /data.html. Should be fixed.

On 12 April 2016 at 11:06, Aamer Mohammed  wrote:

>
> I checked in play.dhis2.org also. I am seeing the same issue.
> For the reportTable, "ANC: Coverages Quarterly" last row data is not
> being retrieved by the api
> https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json
>
> Is it a known issue?
>
>
> On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
> wrote:
>
>> Hm, I take that back.. seems both are included.. seems strange
>>
>> --
>> Morten
>>
>> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
>> wrote:
>>
>>> Hm, seems March 2015 is included instead of March 2016... not sure if
>>> it's a known issue or not, but seems like a bug, Lars will know better
>>> (maybe it's fixed already)
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed >> > wrote:
>>>
 Hi Devs,

 We have seen the below issue when working with /api/reportTables api.
 We are using DHIS 2.21 build revision 21058.
 The reportTable as seen in DHIS app is as below.

 [image: Inline image 1]

 However when we try to fetch the data for the same report Table through
 /api/reportTables//data.html api we are not getting entire data. The
 data for last row is not retrieved through api (json response attached)
 Is anyone else facing this issue? Any observations please.

 Thanks
 Aamer.




>>>
>>
>
> ___
> 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] Issue with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
I checked in play.dhis2.org also. I am seeing the same issue.
For the reportTable, "ANC: Coverages Quarterly" last row data is not being
retrieved by the api
https://play.dhis2.org/demo/api/reportTables/C0rhAq1oklh/data.json

Is it a known issue?


On Tue, Apr 12, 2016 at 1:00 PM, Morten Olav Hansen 
wrote:

> Hm, I take that back.. seems both are included.. seems strange
>
> --
> Morten
>
> On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
> wrote:
>
>> Hm, seems March 2015 is included instead of March 2016... not sure if
>> it's a known issue or not, but seems like a bug, Lars will know better
>> (maybe it's fixed already)
>>
>> --
>> Morten
>>
>> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> We have seen the below issue when working with /api/reportTables api. We
>>> are using DHIS 2.21 build revision 21058.
>>> The reportTable as seen in DHIS app is as below.
>>>
>>> [image: Inline image 1]
>>>
>>> However when we try to fetch the data for the same report Table through
>>> /api/reportTables//data.html api we are not getting entire data. The
>>> data for last row is not retrieved through api (json response attached)
>>> Is anyone else facing this issue? Any observations please.
>>>
>>> Thanks
>>> Aamer.
>>>
>>>
>>>
>>>
>>
>
___
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] Issue with /api/reportTables api

2016-04-12 Thread Morten Olav Hansen
Hm, I take that back.. seems both are included.. seems strange

--
Morten

On Tue, Apr 12, 2016 at 2:29 PM, Morten Olav Hansen 
wrote:

> Hm, seems March 2015 is included instead of March 2016... not sure if it's
> a known issue or not, but seems like a bug, Lars will know better (maybe
> it's fixed already)
>
> --
> Morten
>
> On Tue, Apr 12, 2016 at 2:27 PM, Aamer Mohammed 
> wrote:
>
>> Hi Devs,
>>
>> We have seen the below issue when working with /api/reportTables api. We
>> are using DHIS 2.21 build revision 21058.
>> The reportTable as seen in DHIS app is as below.
>>
>> [image: Inline image 1]
>>
>> However when we try to fetch the data for the same report Table through
>> /api/reportTables//data.html api we are not getting entire data. The
>> data for last row is not retrieved through api (json response attached)
>> Is anyone else facing this issue? Any observations please.
>>
>> Thanks
>> Aamer.
>>
>>
>>
>>
>
___
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 with /api/reportTables api

2016-04-12 Thread Aamer Mohammed
Hi Devs,

We have seen the below issue when working with /api/reportTables api. We
are using DHIS 2.21 build revision 21058.
The reportTable as seen in DHIS app is as below.

[image: Inline image 1]

However when we try to fetch the data for the same report Table through
/api/reportTables//data.html api we are not getting entire data. The
data for last row is not retrieved through api (json response attached)
Is anyone else facing this issue? Any observations please.

Thanks
Aamer.


DHIS_reportTable_api_data
Description: Binary data
___
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