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

Layout Portlets removed Page logic is incorrectly worked.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3
    • 2.2.0
    • Layout
    • None
    • Window XP, Tomcat 5.5, Java 1.5.x

    Description

      Layout Portlets removed Page logic is incorrectly worked.

      1) login jetspeed-portal.
      2) click editPage button.
      3) remove current page in page edit pane.
      4) browser go to removed page.
      5) portal engine does not work correctly.

      After inspecting this issue, I came to the following conclusion:
      Removed page after parent folder update is problem.

      // line 372-387 of MultiColumnPortlet.java
      Folder parent = (Folder)requestPage.getParent();
      if (parent != null)
      {
      List orderList = parent.getDocumentOrder();
      if (orderList != null)
      {
      String name = requestPage.getName();
      if (orderList.indexOf(name) > -1)

      { orderList.remove(name); parent.setDocumentOrder(orderList); pageManager.updateFolder(parent); }

      }
      }
      pageManager.removePage(requestPage);

      Attachments

        Issue Links

          Activity

            People

              woon_san Woonsan Ko
              jeseung Jeseung Choi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: