-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item9563: Refresh prefs cache b4 call afterSave
Prefs are cached, so any attempt to read changed topic preferences in the afterSaveHandler fails because the cached values from before the save are returned. The simple fix appears to be to delete the preferences cache for the object before dispatching the afterSaveHandler. Updated unit tests to verify the issue. There is stil some issue remaining - Foswiki::Func returns null parameters when called in the afterSaveHandler. git-svn-id: http://svn.foswiki.org/branches/Release01x01@13773 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
GeorgeClark
authored and
GeorgeClark
committed
Jan 21, 2012
1 parent
64f238a
commit aa8e0c8
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters