You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Randy Watler (JIRA)" <je...@portals.apache.org> on 2005/05/24 02:13:54 UTC

[jira] Closed: (JS2-263) ClassCastException raised when change portlet location on the fly

     [ http://issues.apache.org/jira/browse/JS2-263?page=all ]
     
Randy Watler closed JS2-263:
----------------------------

     Resolution: Fixed
    Fix Version: 2.0-M3
                 2.0-FINAL

Patched PageManager/ContentPage implementation for update, register, and remove operations.

This patch should be considered temporary until the fate of the ContentPage implementation is determined. Please note that it is currently under review and if it is refactored, this patch will probably be removed.


> ClassCastException raised when change portlet location on the fly
> -----------------------------------------------------------------
>
>          Key: JS2-263
>          URL: http://issues.apache.org/jira/browse/JS2-263
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Layout
>     Versions: 2.0-M3
>  Environment: Windows XP SP2, Sun JDK 1.4.2_07, Tomcat 5.0.30
>     Reporter: JamesLiao
>     Assignee: Randy Watler
>      Fix For: 2.0-FINAL, 2.0-M3

>
> After I login as administrator, I change portlet's location(like move a portlet from right to left). But after I restart the web server, there is nothing change. 
> So I debug the JetSpeed 2, I found the problem happens in the class org.apache.jetspeed.page.impl.CastorXmlPageManager's registerPage() method. There is a java.lang.ClassCastException raised when registerPage() call setProfiledNodePathAndUrl() with cast the org.apache.jetspeed.om.page.Page to org.apache.jetspeed.page.document.AbstractNode. 
> It that some kind of configuration problem, but I did not change any default configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org