← Back to team overview

dhis2-devs team mailing list archive

Re: trunk version problem : RangeError: Invalid language tag: en_GB

 

Hello,

This looks like a bug. You can most likely temporarily resolve it by
setting the userSetting `keyUiLocale` to `en`.

I'll have a look to fix this soon.

On Tue, Mar 28, 2017 at 7:55 PM, 林晓东 <lin_xd@xxxxxxx> wrote:

> debug in chorme browser: console got:
> -------------------------------
> Uncaught (in promise) RangeError: Invalid language tag: en_GB
>     at new DateTimeFormat (native)
>     at s (http://localhost:8080/dhis/dhis-web-maintenance/2-
> ebd60f40f256055574c8.js:1:7181)
>     at t.value (http://localhost:8080/dhis/dhis-web-maintenance/2-
> ebd60f40f256055574c8.js:1:9230)
>     at p._renderValidatedComponentWithoutOwnerOrContext (
> http://localhost:8080/dhis/dhis-web-core-resource/react/
> 15.4.2/react-with-touch-tap-plugin.min.js:17:22762)
>     at p._renderValidatedComponent (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:17:22889)
>     at p._updateRenderedComponent (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:17:22189)
>     at p._performComponentUpdate (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:17:21990)
>     at p.updateComponent (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:17:21268)
>     at performUpdateIfNecessary (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:17:20595)
>     at Object.performUpdateIfNecessary (http://localhost:8080/dhis/
> dhis-web-core-resource/react/15.4.2/react-with-touch-tap-
> plugin.min.js:1:18487)
>     at s (http://localhost:8080/dhis/dhis-web-core-resource/react/
> 15.4.2/react-with-touch-tap-plugin.min.js:1:5108)
>     at r.perform (http://localhost:8080/dhis/dhis-web-core-resource/react/
> 15.4.2/react-with-touch-tap-plugin.min.js:1:26276)
>     at o.perform (http://localhost:8080/dhis/dhis-web-core-resource/react/
> 15.4.2/react-with-touch-tap-plugin.min.js:1:26276)
>     a
>
>
>
>
> --
> 此致
>
>    林晓东
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
mark@xxxxxxxxx

References