You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In QueryValidator's validateQuery method, when a mapped field is not found for a given part, the exception message refers to the original class being mapped rather than the class being used to look up the field:
if (mf == null) {
throw new ValidationException(format("The field '%s' could not be found in '%s' while validating - %s; if "
+ "you wish to continue please disable validation.", part,
clazz.getName(), prop
));
}
Further along, when checking for queries into @Reference or @Serialized fields, the exception message is:
format("Can not use dot-notation past '%s' could not be found in '%s' while"
+ " validating - %s", part, clazz.getName(), prop))
which looks like a copy-paste typo.
I have a branch off of master on my fork which fixes these issues; should I create a pull request?
The text was updated successfully, but these errors were encountered:
In QueryValidator's validateQuery method, when a mapped field is not found for a given part, the exception message refers to the original class being mapped rather than the class being used to look up the field:
Further along, when checking for queries into
@Reference
or@Serialized
fields, the exception message is:which looks like a copy-paste typo.
I have a branch off of master on my fork which fixes these issues; should I create a pull request?
The text was updated successfully, but these errors were encountered: