Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: