Skip to content

Commit

Permalink
MID-5070 inducement update handle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Jan 17, 2019
1 parent 5cbb16a commit c97e640
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -142,7 +142,8 @@ public <T extends ObjectType> RObject<T> modifyObject(Class<T> type, String oid,
while (segments.hasNext()) {
Object segment = segments.next();
if (!ItemPath.isName(segment)) {
throw new SystemException("Segment '" + segment + "' in '" + path + "' is not a name item");
LOGGER.trace("Segment {} in path {} is not name item, finishing entity update for delta", segment, path);
break;
}

ItemName name = ItemPath.toName(segment);
Expand Down Expand Up @@ -749,7 +750,7 @@ private Attribute findAttribute(AttributeStep attributeStep, String nameLocalPar

segment = segments.next();
if (!ItemPath.isName(segment)) {
throw new SystemException("Segment '" + segment + "' in '" + path + "' is not a name item");
return null;
}
subPath = subPath.append(segment);
}
Expand Down

0 comments on commit c97e640

Please sign in to comment.