You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Joseph Toth (JIRA)" <ji...@apache.org> on 2007/05/30 07:22:16 UTC
[jira] Created: (WICKET-600) getClientInfo throws
ClassCastException when Javascript is Disabled
getClientInfo throws ClassCastException when Javascript is Disabled
--------------------------------------------------------------------
Key: WICKET-600
URL: https://issues.apache.org/jira/browse/WICKET-600
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-beta1
Reporter: Joseph Toth
I created a page with the following in the constructor:
WebClientInfo info = (WebClientInfo) Session.get().getClientInfo();
TimeZone zone = info.getProperties().getTimeZone();
If I have javascript disabled in firefox I receive the following error.
Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
at org.apache.wicket.markup.html.pages.BrowserInfoPage.<init>(BrowserInfoPage.java:505)
... 37 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-600) getClientInfo throws
ClassCastException when Javascript is Disabled
Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius resolved WICKET-600.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0-beta2
Good catch!
> getClientInfo throws ClassCastException when Javascript is Disabled
> --------------------------------------------------------------------
>
> Key: WICKET-600
> URL: https://issues.apache.org/jira/browse/WICKET-600
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta1
> Reporter: Joseph Toth
> Assignee: Eelco Hillenius
> Fix For: 1.3.0-beta2
>
>
> I created a page with the following in the constructor:
> WebClientInfo info = (WebClientInfo) Session.get().getClientInfo();
> TimeZone zone = info.getProperties().getTimeZone();
> If I have javascript disabled in firefox I receive the following error.
> Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
> at org.apache.wicket.markup.html.pages.BrowserInfoPage.<init>(BrowserInfoPage.java:505)
> ... 37 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-600) getClientInfo throws
ClassCastException when Javascript is Disabled
Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius reassigned WICKET-600:
--------------------------------------
Assignee: Eelco Hillenius
> getClientInfo throws ClassCastException when Javascript is Disabled
> --------------------------------------------------------------------
>
> Key: WICKET-600
> URL: https://issues.apache.org/jira/browse/WICKET-600
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta1
> Reporter: Joseph Toth
> Assignee: Eelco Hillenius
>
> I created a page with the following in the constructor:
> WebClientInfo info = (WebClientInfo) Session.get().getClientInfo();
> TimeZone zone = info.getProperties().getTimeZone();
> If I have javascript disabled in firefox I receive the following error.
> Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
> at org.apache.wicket.markup.html.pages.BrowserInfoPage.<init>(BrowserInfoPage.java:505)
> ... 37 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.