You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ondra Žižka (JIRA)" <ji...@apache.org> on 2010/04/06 13:01:33 UTC

[jira] Created: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
-----------------------------------------------------------------------------------

                 Key: WICKET-2824
                 URL: https://issues.apache.org/jira/browse/WICKET-2824
             Project: Wicket
          Issue Type: Test
          Components: wicket
    Affects Versions: 1.4.7
            Reporter: Ondra Žižka
            Priority: Minor


Reproduce:
1) Set your system's national settings to non-US (e.g. Czech)
2) mvn clean test
3) You'll see these failing:

org.apache.wicket.util.time.TimeMapTest:

  <testcase time="0" name="testSimpleStaticTimeFrame">
    <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
	at java.text.DateFormat.parse(DateFormat.java:337)
	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
        ...

org.apache.wicket.util.time.TimeTest:

  <testcase time="0" name="test">
    <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
	at java.text.DateFormat.parse(DateFormat.java:337)
	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
        ...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

Posted by "Ondra Žižka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853893#action_12853893 ] 

Ondra Žižka edited comment on WICKET-2824 at 4/6/10 11:34 AM:
--------------------------------------------------------------

BTW, could these files be excluded from the license test? They are created/changed by NetBeans when editing the project...

org.apache.wicket.util.license.XmlLicenseHeaderHandler failed. The following files(3) didn't have correct license header:
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\nb-configuration.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\profiles.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\src\main\webapp\META-INF\context.xml

      was (Author: pekarna):
    BTW, could these files be excluded from the license test? They are changed by NetBeans when editing the project...

org.apache.wicket.util.license.XmlLicenseHeaderHandler failed. The following files(3) didn't have correct license header:
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\nb-configuration.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\profiles.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\src\main\webapp\META-INF\context.xml
  
> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

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

Juergen Donnerstag resolved WICKET-2824.
----------------------------------------

      Assignee: Juergen Donnerstag
    Resolution: Cannot Reproduce

thanks for testing.

> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

Posted by "Tomasz Dziurko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917218#action_12917218 ] 

Tomasz Dziurko commented on WICKET-2824:
----------------------------------------

Not sure if it is relevant, but I downloaded latest 1.4.x from repositories and tried to reproduce this issue on non-US Locale (Polish) but without success. All testes are ok.

> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-2824) Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time

Posted by "Ondra Žižka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853893#action_12853893 ] 

Ondra Žižka commented on WICKET-2824:
-------------------------------------

BTW, could these files be excluded from the license test? They are changed by NetBeans when editing the project...

org.apache.wicket.util.license.XmlLicenseHeaderHandler failed. The following files(3) didn't have correct license header:
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\nb-configuration.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\profiles.xml
NONE T:\_projekty\WicketTry\wicket-1.4.7\wicket-examples\src\main\webapp\META-INF\context.xml

> Tests failing with non-US locale - "Unparsable date" in org.apache.wicket.util.time
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-2824
>                 URL: https://issues.apache.org/jira/browse/WICKET-2824
>             Project: Wicket
>          Issue Type: Test
>          Components: wicket
>    Affects Versions: 1.4.7
>            Reporter: Ondra Žižka
>            Priority: Minor
>
> Reproduce:
> 1) Set your system's national settings to non-US (e.g. Czech)
> 2) mvn clean test
> 3) You'll see these failing:
> org.apache.wicket.util.time.TimeMapTest:
>   <testcase time="0" name="testSimpleStaticTimeFrame">
>     <error message="Unparseable date: &quot;3.14pm&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;3.14pm&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.TimeOfDay.valueOf(TimeOfDay.java:219)
>         ...
> org.apache.wicket.util.time.TimeTest:
>   <testcase time="0" name="test">
>     <error message="Unparseable date: &quot;2000.01.01-12.00am&quot;" type="java.text.ParseException">java.text.ParseException: Unparseable date: &quot;2000.01.01-12.00am&quot;
> 	at java.text.DateFormat.parse(DateFormat.java:337)
> 	at org.apache.wicket.util.time.Time.valueOf(Time.java:125)
>         ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.