ok. This must be due the fact that wiki retrieves user using JBossRenderRequest.getUser().
and not UserModule method call. This method will return
org.jboss.portal.identity.CachedUserImpl. It is used to not perform SQL query on every
request.
To workaround make every JBossRequest.getUser() call in wiki like this:
User user = jbossRequest.getUser();
| user = userModule.findUserById(user.getId());
I know its confusing. I need to add handling CachedUserImpl instance check internally in
modules implementation to avoid such problems.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062887#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...