struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3806) Dojo plugin tests sensitive to host locale settings
Date Fri, 04 May 2012 06:22:51 GMT

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

Lukasz Lenart updated WW-3806:
------------------------------

    Fix Version/s: 2.5
    
> 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: 2.5
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message