Hi Alexandre, Blake,

Turned out the request url was encoded twice before it was sent to the
server. Should be fixed now in the affected version.

Jan

On 27 January 2017 at 14:36, Blake Hansen <bhan...@baosystems.com> wrote:

> Dear Alex,
>
> I have also seen and reported this and believe a fix is being worked on
> currently.
>
> All best,
> Blake
>
>
> --
>
>
>
>
> *Blake Hansen*
> Projects Implementation Manager, BAO Systems
> +1 202-536-1541 | bhan...@baosystems.com | http://www.baosystems.com |
> Skype: blake.a.hansen |  2900 K Street, Suite 404, Washington D.C. 20007
>
> On 27 Jan 2017, at 13:34, alexandre.vanobberg...@unibas.ch wrote:
>
> Hi
>
> We updated an instance (2.24 / 23578) to the latest build (2.24 / 8282ca3)
> and noticed that the org unit tree in the data visualizer app is not
> displaying names of orgunits.
>
>
>
> The API call to get them would be:
> GET /api/organisationUnits/HY7fC5c8lXF.json?fields=children[id,
> displayName|rename(name),children::isNotEmpty|rename(
> hasChildren)&paging=false
>
> response:
> {
>
>     "children": [
>         {
>             "id": "tOixAuufpk1",
>             "hasChildren": true,
>             "name": "One"
>         },
>         {
>             "id": "r3D8BkVf4PA",
>             "hasChildren": true,
>             "name": "Two"
>         }
>     ]
>
> }
>
>
> but it calls instead:
> GET /api/organisationUnits/HY7fC5c8lXF.json?fields=children%
> 5Bid,displayName%7Crename(name),children::isNotEmpty%
> 7Crename(hasChildren)&paging=false
>
> response:
>
> {
>
>     "children": [
>         {
>             "id": "r3D8BkVf4PA"
>         },
>         {
>             "id": "tOixAuufpk1"
>         }
>     ]
>
> }
>
> DB is identical / tested in incognito mode, Firefox & Chrome. Do you have
> any hints on why this happens?
>
> Thanks
> Alex
>
>
> --------------------------------------------------------------------------
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error, please notify us immediately by
> reply e-mail and delete this message from your system.
> --------------------------------------------------------------------------
> <ml.png>_______________________________________________
> 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
>
>


-- 
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://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

Reply via email to