You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/03/25 22:33:17 UTC

[jira] [Resolved] (WW-3806) Dojo plugin tests sensitive to host locale settings

     [ https://issues.apache.org/jira/browse/WW-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-3806.
-------------------------------

    Resolution: Won't Fix
    
> Dojo plugin tests sensitive to host locale settings
> ---------------------------------------------------
>
>                 Key: WW-3806
>                 URL: https://issues.apache.org/jira/browse/WW-3806
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.3.3
>         Environment: Ubuntu linux 12.04. Locale settings LANG=sv_SE.UTF-8
>            Reporter: Leonard Broman
>            Priority: Minor
>              Labels: dojo, plugin
>             Fix For: 3.0
>
>
> When system locale is set to sv_SE.UTF-8 there are test failures in the build due to changed date formatting in DateTimePickerTag.
> testDateParsing(org.apache.struts2.dojo.views.jsp.ui.DateTimePickerTagTest)  Time elapsed: 0.094 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<2007> but was:<6>
> I do not use the dojo plugin but this breaks my builds and is probably a bug that causes issues in deployements as well.
> Workaround: Set LANG=en_US.UTF-8

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira