You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Joachim Müller (JIRA)" <je...@portals.apache.org> on 2006/08/02 09:08:14 UTC
[jira] Created: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
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
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=comments#action_12440345 ]
David Sean Taylor commented on JS2-571:
---------------------------------------
Im actually see the opposite of this problem. Fragments are being deleted from the object collections in memory, but not from the database, intermittently, but more often than not, seeing the error. Im not seeing what you described.
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Updated: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "Joachim Müller (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=all ]
Joachim Müller updated JS2-571:
-------------------------------
Attachment: patch.txt
> 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
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Resolved: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=all ]
David Sean Taylor resolved JS2-571.
-----------------------------------
Fix Version/s: 2.1-dev
Resolution: Fixed
Patch applied, passes unit tests, accepted by reporter.
> 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
> Fix For: 2.1-dev
>
> Attachments: page-manager-collection-reset-patch.txt, 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "Joachim Müller (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=comments#action_12441826 ]
Joachim Müller commented on JS2-571:
------------------------------------
This patch works for me. Thanks!
> 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: page-manager-collection-reset-patch.txt, 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Updated: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=all ]
Randy Watler updated JS2-571:
-----------------------------
Attachment: page-manager-collection-reset-patch.txt
Here is a stronger/generalized version of this patch. Due to a lack to time on my part, this has not been compiled or tested, (sorry). Please test if you can David/Joachim.
> 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: page-manager-collection-reset-patch.txt, 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=comments#action_12441585 ]
David Sean Taylor commented on JS2-571:
---------------------------------------
patch applied (2nd), unit tests pass. Joachim, could you please test and verify if this works for you, thanks
> 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: page-manager-collection-reset-patch.txt, 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
[ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Assigned: (JS2-571) Changes to page structure (PSML) using
the DatabasePageManager are not reflected to the internal page
representation.
Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-571?page=all ]
David Sean Taylor reassigned JS2-571:
-------------------------------------
Assignee: David Sean Taylor
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org