[jboss-jira] [JBoss JIRA] Resolved: (JBFORUMS-254) ClassCastException in org.jboss.portlet.forums.ui.PortalUtil in function getPoster
Ryszard Kozmik (JIRA)
jira-events at lists.jboss.org
Fri Nov 9 19:52:45 EST 2007
[ http://jira.jboss.com/jira/browse/JBFORUMS-254?page=all ]
Ryszard Kozmik resolved JBFORUMS-254.
-------------------------------------
Resolution: Done
> ClassCastException in org.jboss.portlet.forums.ui.PortalUtil in function getPoster
> ----------------------------------------------------------------------------------
>
> Key: JBFORUMS-254
> URL: http://jira.jboss.com/jira/browse/JBFORUMS-254
> Project: JBoss Forums
> Issue Type: Bug
> Affects Versions: 1.0.0 GA
> Environment: JBoss Portal 2.6.1.GA bundled with JBoss AS 4.2.1 and integrated with OpenLDAP
> Reporter: Lukasz Wiktor
> Assigned To: Ryszard Kozmik
> Fix For: 1.0.1 RC, 1.1.0 Alpha
>
>
> In class org.jboss.portlet.forums.ui.PortalUtil in function getPoster() userId is casted to Long. That causes ClassCastException when userId is for example type of String (in LDAP).
> 2007-10-04 15:35:07,700 ERROR [org.jboss.portlet.forums.ui.JSFUtil] org.jboss.portlet.forums.ui.JSFUtil
> java.lang.ClassCastException: java.lang.String
> at org.jboss.portlet.forums.ui.PortalUtil.getPoster(PortalUtil.java:467)
> ...
> It prevents from e.g. creating new topic.
> See my posts on the forum. I have proposed the solution.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list