the cause can be not found

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1550703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-12-13 12:17:29 +00:00
parent c9314cb5e7
commit ce69fd986d
1 changed files with 11 additions and 4 deletions

View File

@ -157,9 +157,8 @@ public abstract class AbstractRBACManager
} }
catch ( Exception e ) catch ( Exception e )
{ {
log.warn( log.warn( "Unable to trigger .rbacUserAssignmentSaved( UserAssignment ) to {}",
"Unable to trigger .rbacUserAssignmentSaved( UserAssignment ) to {}", listener.getClass().getName(), listener.getClass().getName(), e );
e );
} }
} }
} }
@ -741,6 +740,14 @@ public abstract class AbstractRBACManager
//it.remove(); //it.remove();
childRoleNamesUpdated = true; childRoleNamesUpdated = true;
} }
catch ( RbacManagerException e )
{
if ( !( e.getCause() instanceof RbacObjectNotFoundException ) )
{
throw e;
}
childRoleNamesUpdated = true;
}
} }
if ( childRoleNamesUpdated ) if ( childRoleNamesUpdated )