-
Type: Improvement
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.19 Swallows
-
Fix Version/s: 0.20 Swallows, 1.5 Swallows, 1.4 Swallows
-
Labels:None
Error 500 is shown after log In in JCommune for all registered users if one of these groups have been deleted.
Following exception is shown in the log in this case
Aug 13, 2012 9:31:38 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet spring-dispatcher threw exception
org.jtalks.common.security.acl.GroupAce$ObsoleteAclException: A group with ID [11] was removedbut this ID is still registered as a Permission owner (SID) in ACL tables. To resolve this issue you should manually remove records from ACL tables Note, that this is a bug and this issue should be reported to be corrected in future versions.
at org.jtalks.common.security.acl.GroupAce.throwIfNull(GroupAce.java:78)
at org.jtalks.common.security.acl.GroupAce.getGroup(GroupAce.java:39)
at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isGrantedForGroup(AclGroupPermissionEvaluator.java:265)
at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isGrantedForGroup(AclGroupPermissionEvaluator.java:244)
at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.isAllowedForGroup(AclGroupPermissionEvaluator.java:210)
at org.jtalks.jcommune.service.security.AclGroupPermissionEvaluator.hasPermission(AclGroupPermissionEvaluator.java:103)
at org.jtalks.jcommune.web.tags.HasPermission.doStartTag(HasPermission.java:91)
- No menu item 'Delete' should appear near groups with respective names (even if someone created a group with the same name).