This content has been marked as final.
Show 5 replies
-
1. Re: RoleGroups bug
rhebe Mar 26, 2009 5:52 PM (in response to rhebe)
Grzegorz Matuszewski wrote on Mar 26, 2009 17:43:
I think I found a bug in Seam 2.1.2.GA regarding @RoleGroups.I meant Seam 2.1.1.GA
-
-
3. Re: RoleGroups bug
buckmin.erdem.agaoglu.gmail.com May 12, 2009 5:02 PM (in response to rhebe)i think i found a new bug now in Seam 2.1.2.CR1 which is very close to this one.
if using roles without @RoleGroups, JpaIdentityStore.listRoleMembers returns null.
but in JpaIdentityStore.deleteRole(role)
List<String> roles = listRoleMembers(role); for (String r : roles)
and in JpaIdentityStore.listMembers(String role)
for (String roleName : listRoleMembers(role))
so for-each style loop over null throws NPE.
I dont know if this is a Java 6 problem only.
-
4. Re: RoleGroups bug
oyvind Dec 17, 2009 12:23 PM (in response to rhebe)
Erdem Agaoglu wrote on May 12, 2009 17:02:
i think i found a new bug now in Seam 2.1.2.CR1 which is very close to this one.
if using roles without @RoleGroups, JpaIdentityStore.listRoleMembers returns null.
but in JpaIdentityStore.deleteRole(role)List<String> roles = listRoleMembers(role); for (String r : roles)
and in JpaIdentityStore.listMembers(String role)for (String roleName : listRoleMembers(role))
so for-each style loop over null throws NPE.
I dont know if this is a Java 6 problem only.This bug still exist in Seam 2.2.0.GA. I haven't found any Jira issues for this. Anyone?
-
5. Re: RoleGroups bug
cinconnu Jul 28, 2010 5:58 AM (in response to rhebe)i filled a jira: https://jira.jboss.org/browse/JBSEAM-4680