Leonard Broman created WW-3806:
----------------------------------
Summary: 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
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