← Back to team overview

dhis2-devs team mailing list archive

Re: API Field transformers are not working

 

Hi Anil,

the | is no longer supported in URLs by Tomcat. Please move over to using ~
instead.

Lars

On Tue, Feb 7, 2017 at 2:28 PM, Morten Olav Hansen <morten@xxxxxxxxx> wrote:

> Hi Anil
>
> We are aware of this, and Jan is working on updating the apps (he was
> waiting for a backport of mine to support both | and ~ in earlier versions
> of DHIS2).
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Feb 7, 2017 at 8:06 PM, Anilkumar Kodi <anilkumk@xxxxxxxxxxxxxxxx>
> wrote:
>
>> Hi devs,
>>
>> We are using 2.25 DHIS version. Some of the dhis apis are throwing 400
>> when using | symbol but working fine when using ~ symbol.
>>
>> ex: /api/organisationUnits?fields=id,displayName|rename(name)
>>
>> As per 2.24 documentation the field transformers use *|* and 2.25 use *~
>> *symbol, but we see 2.25 plugins (eg: chart.js, table.js,eventchart.js)
>> are still using pipe(* |* ) symbol.
>>
>> Did anyone face this issue before? Any suggestions please.
>>
>>
>>
>>
>>
>> Thanks,
>> Anil Kumar
>>
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

References