Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3806

Dojo plugin tests sensitive to host locale settings

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.3
    • Fix Version/s: 3.0
    • Component/s: Plugin - Dojo Tags
    • Labels:
    • Environment:

      Ubuntu linux 12.04. Locale settings LANG=sv_SE.UTF-8

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lbroman Leonard Broman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: