Skip to content

Commit

Permalink
Ticket #518 : Fix redundant event
Browse files Browse the repository at this point in the history
  • Loading branch information
thabart committed May 29, 2023
1 parent ee9b684 commit d5e6978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ protected IEnumerable<RepresentationSyncResult> SyncIndirectReferences(SCIMRepre
{
foreach (var propagatedChildren in _scimRepresentationCommandRepository.FindPaginatedGraphAttributes(newSourceScimRepresentation.Id, valueAttr.Id))
{
var typeAttrs = propagatedChildren.Where(c => c.SchemaAttributeId == displayAttr.Id).ToList();
var typeAttrs = propagatedChildren.Where(c => c.SchemaAttributeId == displayAttr.Id && !addedDirectChildrenIds.Contains(c.RepresentationId)).ToList();
foreach (var ta in typeAttrs)
ta.ValueString = newSourceScimRepresentation.DisplayName;

Expand Down

0 comments on commit d5e6978

Please sign in to comment.