[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1092) Double '*' membership type visible when selecting permissions
Khoi Nguyen (JIRA)
jira-events at lists.jboss.org
Wed Apr 21 22:29:10 EDT 2010
[ https://jira.jboss.org/jira/browse/GTNPORTAL-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Khoi Nguyen updated GTNPORTAL-1092:
-----------------------------------
Assignee: Khoi Nguyen
> Double '*' membership type visible when selecting permissions
> -------------------------------------------------------------
>
> Key: GTNPORTAL-1092
> URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1092
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.0-GA
> Reporter: Chien Nguyen
> Assignee: Khoi Nguyen
> Fix For: 3.1.0-GA
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> This is caused by bug in org.exoplatform.webui.organization.UIGroupMembershipSelector.UIGroupMembershipSelector() constructor:
> {code}
> Collection<?> collection = service.getMembershipTypeHandler().findMembershipTypes();
> listMemberhip = new ArrayList<String>(5);
> for (Object obj : collection)
> {
> listMemberhip.add(((MembershipType)obj).getName());
> }
> listMemberhip.add("*");
> {code}
> And in processRender()
> {code}
> Collection<?> collection = service.getMembershipTypeHandler().findMembershipTypes();
> listMemberhip = new ArrayList<String>(5);
> for (Object obj : collection)
> {
> listMemberhip.add(((MembershipType)obj).getName());
> }
> listMemberhip.add("*");
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list