Jetspeed 2
  1. Jetspeed 2
  2. JS2-1044

Folder document order removed on page update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Component/s: PSML
    • Labels:
      None

      Description

      When editing a page from Portal Site Manager removes the Document Order.

      Looking at the code, it looks like AbstractPageManager.java
      updateDocumentOrder() is called everytime the page is updated and if the
      page is already there in the document order list of the folder, its removed.

      documentOrder.remove(name);

      Change the above code to the following fixed the issue.
      if ( !this.folderExists( name )

      { documentOrder.remove() }

        Activity

        Hide
        Randy Watler added a comment -

        Editing pages or folders in the Portal Site Manager does not seem to effect the parent folder document order.

        The code snippet mentioned in the bug report no longer exists in either Jetspeed or J2-admin, so it is likely that it has been replaced by code in the actions and/or services layer. Furthermore, it is unlikely that AbstractPageManager has ever played a role in page updates.

        If this can be reproduced with a more concrete set of instructions on 2.2.0 or 2.2.1-SNAPSHOT, we can reopen this issue.

        Show
        Randy Watler added a comment - Editing pages or folders in the Portal Site Manager does not seem to effect the parent folder document order. The code snippet mentioned in the bug report no longer exists in either Jetspeed or J2-admin, so it is likely that it has been replaced by code in the actions and/or services layer. Furthermore, it is unlikely that AbstractPageManager has ever played a role in page updates. If this can be reproduced with a more concrete set of instructions on 2.2.0 or 2.2.1-SNAPSHOT, we can reopen this issue.

          People

          • Assignee:
            Randy Watler
            Reporter:
            Randy Watler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development