Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-263

ClassCastException raised when change portlet location on the fly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M3
    • 2.0-M3, 2.0-FINAL
    • Layout
    • None
    • Windows XP SP2, Sun JDK 1.4.2_07, Tomcat 5.0.30

    Description

      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.

      Attachments

        Activity

          People

            rwatler W. Randall Watler
            norwaywoods Jian Liao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: