-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Inaccurate exception message in SimpleJobRepository #4025
Comments
Thank you for raising this. While this is valid from a "coding" point of view, the job parameters passed as a parameter to the So I would consider this as an improvement to make the exception's message more accurate (in case of a bug in the parameters retrieval). |
Hi, is this open for contribution? And if just aligning the exception message with the if condition is enough. |
@morenomjc Sure! Thank you for your offer to help. Every issue without an already open PR or tagged with So you are welcome to contribute if you want. |
Hi @fmbenhassine submitted a PR for this. |
The exception is thrown with a message containing
jobParameters
, which is not what is used in the if to do the check.spring-batch/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java
Line 140 in d24eb6a
Exists since 3.0.10.RELEASE at least.
The text was updated successfully, but these errors were encountered: