mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ACE-3500: LDAP sync failure
- Side-step NPE if we fail to find an invitation that matches a given workflow task. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@90515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -831,7 +831,7 @@ public class InvitationServiceImpl implements InvitationService, NodeServicePoli
|
||||
private boolean invitationMatches(Invitation invitation, InvitationSearchCriteria criteria)
|
||||
{
|
||||
String invitee = criteria.getInvitee();
|
||||
if (invitee!= null && false == invitee.equals(invitation.getInviteeUserName()))
|
||||
if (invitation == null || (invitee!= null && false == invitee.equals(invitation.getInviteeUserName())))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user