Skip to content

Commit

Permalink
LPD-35166 Wording here is wrong. Feliphe says it's not necessary and …
Browse files Browse the repository at this point in the history
…he'll resend just this part.
  • Loading branch information
brianchandotcom committed Sep 19, 2024
1 parent 9b5ebed commit 536eb5a
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1497,23 +1497,6 @@ private void _validateEdge(
"an edge of a root context");
}

int objectDefinition1ObjectEntriesCount =
_objectEntryLocalService.getObjectEntriesCount(
objectRelationship.getObjectDefinitionId1());
int objectDefinition2ObjectEntriesCount =
_objectEntryLocalService.getObjectEntriesCount(
objectRelationship.getObjectDefinitionId2());

if ((objectDefinition1ObjectEntriesCount > 0) ||
(objectDefinition2ObjectEntriesCount > 0)) {

throw new ObjectRelationshipEdgeException(
StringBundler.concat(
"Object relationship must not be between object ",
"definitions that contains object entries to be an edge ",
"of a root context"));
}

ObjectDefinitionLocalService objectDefinitionLocalService =
_objectDefinitionLocalServiceSnapshot.get();

Expand Down

0 comments on commit 536eb5a

Please sign in to comment.