← Back to team overview

dhis2-users team mailing list archive

Re: several links in api/resources pointing to the same ("dimensions") url

 

Lars, is there an intention to fix this bug in 2.15 ? I understand that the Web API is being rewritten but this is a major bug. Or is 2.15 not to be regarded as a stable release, with the userbase being encouraged to move directly to 2.16?

- Edward -

On Sunday, July 6, 2014 7:17 PM, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:

>
>
>Hi Lavi,
>
>
>this has been corrected in latest development version so will be okay in 2.16. It is not intentional but also not completely arbitrary - all those classes implement a common "dimensional" interface and as a result ended up with wrong re-directs. The Web API has undergone a rewrite for 2.16 so unfortunately we are not able to back-port the "fix".
>
>
>regards,
>
>
>Lars
>
>
>
>
>
>
>
>On Sun, Jul 6, 2014 at 1:36 PM, Lavi Shpigelman <shpigi@xxxxxxxxx> wrote:
>
>Hi.
>>I noticed that in in version 2.15 (and also in version 2.13), some of the resources in the api/resources page point to the same url  (api/dimensions)
>>
>>These include:
>>
>>
>>
>><resource name="Categories" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="CategoryOptionGroupSets" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="DataElementGroupSets" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="DataElements" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="Dimensions" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="OrganisationUnitGroupSets" href="https://apps.dhis2.org/demo/api/dimensions";>
>><resource name="TrackedEntityAttributes" href="https://apps.dhis2.org/demo/api/dimensions";>
>>Is this intentional or should each of the resources point to a url with the resource name (only camelCased)
>>
>>_______________________________________________
>>Mailing list: https://launchpad.net/~dhis2-users
>>Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>Unsubscribe : https://launchpad.net/~dhis2-users
>>More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~dhis2-users
>Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~dhis2-users
>More help   : https://help.launchpad.net/ListHelp
>
>
>


Follow ups

References