Issue Details (XML | Word | Printable)

Key: JS2-263
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Randy Watler
Reporter: Jian Liao
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2

ClassCastException raised when change portlet location on the fly

Created: 23/May/05 11:41 PM   Updated: 24/May/05 09:10 AM
Return to search
Component/s: Layout
Affects Version/s: 2.0-M3
Fix Version/s: 2.0-M3, 2.0-FINAL

Time Tracking:
Not Specified

Environment: Windows XP SP2, Sun JDK 1.4.2_07, Tomcat 5.0.30

Resolution Date: 24/May/05 09:10 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.