You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Mikko Tiihonen (JIRA)" <ji...@apache.org> on 2012/10/01 18:21:08 UTC

[jira] [Created] (WICKET-4796) DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär

Mikko Tiihonen created WICKET-4796:
--------------------------------------

             Summary: DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär
                 Key: WICKET-4796
                 URL: https://issues.apache.org/jira/browse/WICKET-4796
             Project: Wicket
          Issue Type: Bug
          Components: wicket-datetime
    Affects Versions: 6.0.0
         Environment: java 8
            Reporter: Mikko Tiihonen
            Priority: Trivial


The Oracle java7 and older return Mrz as german march short name.
The Oracle java8 seems to have switched to the official (see http://de.wikipedia.org/wiki/Vorlage:Monat_Name-Nummer ) three letter short name Mär.

Some googling showed that IBM java has used the offical short name at least since 2008.

I propose as a fix that the non-english test language is changed to something other than Locale.GERMAN in DatePickerTest method myTestExecution. For example Locale.ITALIAN, which has had consistent localization in Java world. Plus of course the reference data in DatesPage1_ExpectedResult.html needs to be regenerated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-4796) DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär

Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-4796.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 6.2.0
         Assignee: Sven Meier

Fixed, thanks!
                
> DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär
> --------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4796
>                 URL: https://issues.apache.org/jira/browse/WICKET-4796
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 6.0.0
>         Environment: java 8
>            Reporter: Mikko Tiihonen
>            Assignee: Sven Meier
>            Priority: Trivial
>             Fix For: 6.2.0
>
>         Attachments: fix-WICKET-4796.patch
>
>
> The Oracle java7 and older return Mrz as german march short name.
> The Oracle java8 seems to have switched to the official (see http://de.wikipedia.org/wiki/Vorlage:Monat_Name-Nummer ) three letter short name Mär.
> Some googling showed that IBM java has used the offical short name at least since 2008.
> I propose as a fix that the non-english test language is changed to something other than Locale.GERMAN in DatePickerTest method myTestExecution. For example Locale.ITALIAN, which has had consistent localization in Java world. Plus of course the reference data in DatesPage1_ExpectedResult.html needs to be regenerated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-4796) DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär

Posted by "Mikko Tiihonen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikko Tiihonen updated WICKET-4796:
-----------------------------------

    Attachment: fix-WICKET-4796.patch

Patch to switch test to use Italian instead of German
                
> DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär
> --------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4796
>                 URL: https://issues.apache.org/jira/browse/WICKET-4796
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 6.0.0
>         Environment: java 8
>            Reporter: Mikko Tiihonen
>            Priority: Trivial
>         Attachments: fix-WICKET-4796.patch
>
>
> The Oracle java7 and older return Mrz as german march short name.
> The Oracle java8 seems to have switched to the official (see http://de.wikipedia.org/wiki/Vorlage:Monat_Name-Nummer ) three letter short name Mär.
> Some googling showed that IBM java has used the offical short name at least since 2008.
> I propose as a fix that the non-english test language is changed to something other than Locale.GERMAN in DatePickerTest method myTestExecution. For example Locale.ITALIAN, which has had consistent localization in Java world. Plus of course the reference data in DatesPage1_ExpectedResult.html needs to be regenerated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira