Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken placeholder in exception message to be created in QueryByExamplePredicateBuilder.getPredicate(…) [DATAJPA-937] #1289

Closed
spring-projects-issues opened this issue Jul 27, 2016 · 0 comments
Assignees
Labels
type: bug

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Jul 27, 2016

Raphael Dirksen opened DATAJPA-937 and commented

Hi,

the class QueryByExamplePredicateBuilder has a bug in the getPredicates-Method. If it tries to throw a JpaSystemException the string formattier throws an UnknownFormatConversionException because of the missing "s" after the second "%" in the formatting template.

String.format("Unexpected path type for %s. Found % where From.class was expected.", currentPath, from)));

best regards,
Raphael


Affects: 1.10.2 (Hopper SR2)

Backported to: 1.10.3 (Hopper SR3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug
Projects
None yet
Development

No branches or pull requests

2 participants