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 2012/05/04 08:22:50 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13268167#comment-13268167 ] 

Lukasz Lenart commented on WW-3806:
-----------------------------------

Dojo plugin is deprecated and will be removed from the distribution as from 2.5 version.
                
> 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