[ http://issues.apache.org/jira/browse/JS2-571?page=comments#action_12440421 ] Randy Watler commented on JS2-571: ----------------------------------
AFAICT, there is only one scenario where this might happen: if the page fell out of the cache but remained in the folder page collection. In that case I can see where the added code would help clean things up. I am still pondering the patch, but it should be applied more widely, (to folders and links), if we go for it. > Changes to page structure (PSML) using the DatabasePageManager are not > reflected to the internal page representation. > --------------------------------------------------------------------------------------------------------------------- > > Key: JS2-571 > URL: http://issues.apache.org/jira/browse/JS2-571 > Project: Jetspeed 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.1-dev > Reporter: Joachim Müller > Assigned To: David Sean Taylor > Attachments: patch.txt > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]