Jetspeed 2
  1. Jetspeed 2
  2. JS2-571

Changes to page structure (PSML) using the DatabasePageManager are not reflected to the internal page representation.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-dev
    • Fix Version/s: 2.1-dev, 2.1
    • Component/s: Other
    • Labels:
      None

      Description

      Changes to page structure (PSML) using the DatabasePageManager are not reflected to the internal page representation when a user configures the page. Thus changing of the configuration of a page has no effect until the page will be reread from the database (i.e. after new login of the user).

      Reason:

      When updating a page with the DatabasePageManager.update(page) method the parent folders page cache is not refreshed. The changed data IS stored to the database though.

      Solution:

      Reset page cache in parent folder (FolderImpl.resetPages(false)). See patch.txt.

      1. patch.txt
        1 kB
        Joachim Müller
      2. page-manager-collection-reset-patch.txt
        6 kB
        Randy Watler

        Activity

        Joachim Müller created issue -
        Joachim Müller made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12337971 ]
        David Sean Taylor made changes -
        Assignee David Sean Taylor [ taylor ]
        David Sean Taylor made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Randy Watler made changes -
        Attachment page-manager-collection-reset-patch.txt [ 12342432 ]
        David Sean Taylor made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        David Sean Taylor made changes -
        Fix Version/s 2.1-dev [ 12310686 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Fix Version/s 2.1 [ 12310617 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            David Sean Taylor
            Reporter:
            Joachim Müller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development