Skip to content

Commit

Permalink
HSEARCH-4423 Fix typo in error message for cycles in indexing depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
yrodiere committed Jan 4, 2022
1 parent 667f2ce commit 64998d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -690,7 +690,7 @@ public String getDerivedC() {
.failure( "Unable to resolve dependencies of a derived property:"
+ " there is a cyclic dependency involving path '.derivedA<no value extractors>'"
+ " on type '" + DerivedFromCycle.A.class.getName() + "'",
"A derived properties cannot be marked as derived from itself",
"A derived property cannot be marked as derived from itself",
"you should consider disabling automatic reindexing"
)
.build()
Expand Down
Expand Up @@ -290,7 +290,7 @@ SearchException incorrectTargetTypeForInverseAssociation(
@Message(id = ID_OFFSET + 30,
value = "Unable to resolve dependencies of a derived property:"
+ " there is a cyclic dependency involving path '%2$s' on type '%1$s'."
+ " A derived properties cannot be marked as derived from itself, even indirectly through other "
+ " A derived property cannot be marked as derived from itself, even indirectly through other "
+ " derived properties."
+ " If your model actually contains such cyclic dependency, "
+ " you should consider disabling automatic reindexing, at least partially "
Expand Down

0 comments on commit 64998d1

Please sign in to comment.