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
Randy Watler made changes - 24/May/05 09:04 AM
Field Original Value New Value
Assignee Randy Watler [ rwatler ]
Randy Watler added a comment - 24/May/05 09:10 AM
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.

Randy Watler made changes - 24/May/05 09:10 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Fix Version/s 2.0-M3 [ 11127 ]
Fix Version/s 2.0-FINAL [ 10940 ]