Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2834

TimerAndCalendarTest will fail 4 tests on non english environments

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 5.4.0.CR1
    • 5.2.0.M1
    • drools-compiler
    • None
    • Hide

      run
      mvn install -Duser.region=ES -Duser.language=es

      Show
      run mvn install -Duser.region=ES -Duser.language=es
    • Workaround Exists
    • Hide

      The build will run when running the command with two parameters (-Ddrools.defaultcountry=US -Ddrools.defaultlanguage=en) and applying the attached patch to fix four other language specific dates within the test code.

      Show
      The build will run when running the command with two parameters (-Ddrools.defaultcountry=US -Ddrools.defaultlanguage=en) and applying the attached patch to fix four other language specific dates within the test code.
    • 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

          Activity

            People

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              booveman_jira Burkhard Vogel (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty