[Jamwiki-commit] SF.net SVN: jamwiki:[4276] wiki/trunk/jamwiki-core/src/main/java/org/ jamwiki/db/A
Brought to you by:
wrh2
From: <ccl...@us...> - 2013-02-04 08:32:07
|
Revision: 4276 http://jamwiki.svn.sourceforge.net/jamwiki/?rev=4276&view=rev Author: cclavadetscher Date: 2013-02-04 08:32:00 +0000 (Mon, 04 Feb 2013) Log Message: ----------- Bug fixing: When a new user is created, he is added to the registered user group. This does not update the cache and results in the admin not seeing this user as a member of this group, unless it is called directly by user name. Correction: Flush cache in this specific case when a user is inserted. public void writeWikiUser(WikiUser user, String username, String encryptedPassword) throws DataAccessException, WikiException { [...] // Flush cache to force reading from database for next search // This should be more efficient than looping over the authorities of the // group and update them individually CACHE_ROLE_MAP_GROUP.removeAllFromCache(); [...] } Modified Paths: -------------- wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/db/AnsiDataHandler.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |