← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS 2.26 Events Web API lastUpdated is not respected

 

Thanks

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

On Tue, May 9, 2017 at 2:44 PM, jhansirk <jhansirk@xxxxxxxxxxxxxxxx> wrote:

> Thanks Morten, created the issue
> <https://jira.dhis2.org/browse/DHIS2-1563> in JIRA.
>
> On 09-May-2017, at 12:49 PM, Morten Olav Hansen <morten@xxxxxxxxx> wrote:
>
> That sounds like a bug yes, would you mind filing an issue at our jira?
> jira.dhis2.org
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, May 9, 2017 at 1:28 PM, jhansirk <jhansirk@xxxxxxxxxxxxxxxx>
> wrote:
>
>> Hello DHIS-Devs,
>>
>> In DHIS 2.26, Events Web API is not respecting the lastUpdated params
>> which was working till DHIS 2.25. This means that inspite of passing
>> lastUpdated params to events API, it is returning all the events instead of
>> returning only the events which have changed from the lastUpdated time.
>>
>> We see this issue in the DHIS2 2.26 play demo Events API 2.26
>> <https://play.dhis2.org/demo/api/26/events.json?orgUnit=jNb63DIHuwU&programStage=pTo4uMt3xur&pageSize=50&page=1&totalPages=true&lastUpdated=2017-04-12T21:01:03.264> and
>> it works as expected in Events API 2.25
>> <https://play.dhis2.org/release1/api/events.json?orgUnit=jNb63DIHuwU&programStage=pTo4uMt3xur&pageSize=50&page=1&totalPages=true&lastUpdated=2017-04-12T21:01:03.264>
>> .
>>
>> Please let us know if we are missing something.
>>
>> Thanks,
>> Jhansi
>>
>> _______________________________________________
>> 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