Details
-
Bug
-
Resolution: Done
-
Minor
-
5.2.0.M1
-
None
-
-
Workaround Exists
-
-
Medium
Description
When running the mvn install target on a non English system the following test will fail
- testCalendarsWithIntervalsAndStartAndEnd
- testCalendarsWithIntervalsAndStartAndLimit
- testCalendarsWithCronAndStartAndEnd
- testCalendarsWithCronAndStartAndLimit
All these use dates like 03-JAN-2010 in the internal rule definition with will not work in countries where there does not exist a month starting with JAN, for instance in Spanish that would be ENE (from enero) and the test result spills out a date format exception.
These can be alleviated by running the command with two parameters (-Ddrools.defaultcountry=US -Ddrools.defaultlanguage=en) but still the attached patch has to be applied for four other language specific dates within the test code.
Attachments
Issue Links
- is blocked by
-
JBRULES-3444 Overriding the default locale for DRL date parsing should be possible: PackageBuilder.dateFormats should be settable
- Open
- relates to
-
JBRULES-2590 Maven build fails in Linux with LANG=fr_FR.utf8
- Resolved