[ https://issues.apache.org/jira/browse/SYNCOPE-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Patricelli resolved SYNCOPE-512. --------------------------------------- Resolution: Fixed > If there are no roles in edit user modal page is possible to create > membership between root (fake) role and user > ---------------------------------------------------------------------------------------------------------------- > > Key: SYNCOPE-512 > URL: https://issues.apache.org/jira/browse/SYNCOPE-512 > Project: Syncope > Issue Type: Bug > Components: console > Affects Versions: 1.1.8, 1.2.0 > Reporter: Andrea Patricelli > Assignee: Andrea Patricelli > Fix For: 1.1.8, 1.2.0 > > > 1) start Syncope in embedded mode and delete all roles or deploy syncope > project with empty (default) content.xml > 2) log into console and create an user. > 3) go under roles tab in user modal page and click on empty role (the only > displayed), a membership modal window is shown. > 4) click on save button and you'll notice a NullPointerException. > This is due to the fact that, if there are no roles, in edit user modal page > is possible to create membership between root (fake) role (the one with id 0) > and user and this is incorrect because root role is not useful for creating > a membership. -- This message was sent by Atlassian JIRA (v6.2#6252)