← Back to team overview

dhis2-devs team mailing list archive

Re: Generating system identifiers using the api limits itself to one (1)

 

Thanks Lars works

Regards

On Thu, Feb 25, 2016 at 3:01 PM, Lars Helge Øverland <lars@xxxxxxxxx> wrote:

> Hi Prosper,
>
> try using the "limit" query parameter:
>
> https://play.dhis2.org/demo/api/system/id.json?limit=3
>
> Docs:
>
>
> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s35.html#d5e4595
>
> regards,
>
> Lars
>
>
>
>
> On Thu, Feb 25, 2016 at 6:49 AM, Prosper BT <ptb3000@xxxxxxxxx> wrote:
>
>> ​Hi Morten
>>
>> According to the bug list you fixed this problem, but we are testing with
>> the latest build of 2.22 even on demo and its still exists
>> [image: Inline image 1]
>>
>> [image: Inline image 2]
>>
>> Generating system identifiers using the api limits itself to one (1) Edit
>> <https://bugs.launchpad.net/dhis2/+bug/1523879/+edit>
>> Bug #1523879 reported by Alex Tumwesigye
>> <https://launchpad.net/~atumwesigye> on 2015-12-08
>> 6 <https://bugs.launchpad.net/+help-bugs/bug-heat.html>
>> This bug affects 1 person. Does this bug affect you?
>> <https://bugs.launchpad.net/dhis2/+bug/1523879/+affectsmetoo> [image:
>> Edit] <https://bugs.launchpad.net/dhis2/+bug/1523879/+affectsmetoo>
>> AffectsStatusImportanceAssigned toMilestone
>> ​ <https://bugs.launchpad.net/dhis2/+bug/1523879/+editstatus>
>>  DHIS <https://bugs.launchpad.net/dhis2> Edit
>> Fix Released <https://bugs.launchpad.net/dhis2/+bug/1523879/+editstatus>
>> <https://bugs.launchpad.net/dhis2/+bug/1523879/+editstatus>
>> Low
>>  Morten Olav Hansen <https://launchpad.net/~mortenoh> Edit
>> DHIS 2.22 <https://launchpad.net/dhis2/+milestone/2.22>
>> Also affects project
>> <https://bugs.launchpad.net/dhis2/+bug/1523879/+choose-affected-product>
>> (?)
>> <https://bugs.launchpad.net/+help-bugs/also-affects-project-help.html> Also
>> affects distribution/package
>> <https://bugs.launchpad.net/dhis2/+bug/1523879/+distrotask>
>> Edit <https://bugs.launchpad.net/dhis2/+bug/1523879/+edit>
>> Bug Description
>>
>> Generating system identifiers using the api limits itself to one (1) when
>> the api/system resource is used.
>>
>> For example, the link below only generates one UID instead of 10.
>>
>> https://play.dhis2.org/dev/api/system/id.json?n=10
>>
>> This affects the versions below
>>
>> Build: 20953
>> Verison:2.21
>>
>> Build: 21367
>> Version: 2.22 -SNAPSHOT​
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
>> prospertb
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


-- 
Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139
prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
prospertb

PNG image

PNG image


References