[
https://issues.jboss.org/browse/GTNPORTAL-2369?page=com.atlassian.jira.pl...
]
Minh Hoang TO commented on GTNPORTAL-2369:
------------------------------------------
I tested with EXOGTN 3.2.x + Tomcat + MySQL.
GateIn in cluster mode with two nodes node0, node1.
1. Login at both nodes with username 'john'
2. From node0, create a group named AAAA
3. At this step, we could see the group AAAA appear in node1 (we need refresh the page to
see)
4. From node0, add navigation to group AAAA and we could see this new navigation in
GroupNavigationPortlet (click on the 'Group' link on toolbar to see)
5. From node1, we could not see the new navigation in GroupNavigationPortlet, even if we
logout/login again with 'john'
However, if we login with user 'root' on node1, we could see the new navigation. I
figured out that in UserPortalImpl class, we use the following code to retrieve list of
groups associated with an user. For non-root user, the method findGroupsOfUser missed
group created by the same user on other cluster node.
{code:java}
try
{
if (service.getUserACL().getSuperUser().equals(userName))
{
groups =
service.getOrganizationService().getGroupHandler().getAllGroups();
}
else
{
groups =
service.getOrganizationService().getGroupHandler().findGroupsOfUser(userName);
}
}
{code}
Method findGroupsOfUser in GroupDAOImpl does not work correctly in
cluster mode.
--------------------------------------------------------------------------------
Key: GTNPORTAL-2369
URL:
https://issues.jboss.org/browse/GTNPORTAL-2369
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Minh Hoang TO
Assignee: Boleslaw Dawidowicz
Method findGroupsOfUser does not return group created via other cluster node
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira