]
Ryszard Kozmik updated JBFORUMS-254:
------------------------------------
Fix Version/s: 1.0.1 RC
1.1.0 Alpha
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: