Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
WW 2.0-beta2
-
None
-
Locale: sv_SE
Description
The test com.opensymphony.webwork.views.velocity.TagDirectiveTest fails when it is run on a machine with swedish default locale. The assertNotNull for the date attribute fails. The date attribute in the MockTag is set to null when processing the attributes.
As far as i can see this is due to the converter not beinging able to parse the format 03/25/2003 when using the Swedish Locale. Unless the actual date handling is an important part of this particular test, some other, less locale dependent attribute could be used instead. Another option would be for the test to setup the Locale to avoid different results depending on locale.