Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Gh 4755: Fix wrong behavior of JobRepository with empty identifying job parameters #4946

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

Open
isanghaessi wants to merge 1 commit into spring-projects:main
base: main
Choose a base branch
Loading
from isanghaessi:GH-4755

Conversation

Copy link

@isanghaessi isanghaessi commented Aug 15, 2025
edited
Loading

Summary

This PR fixes #4755 .
Problem is, job with having zero identifier job parameters are able to restart.
Job what having COMPLETED status should not be able to restart with same Job Parameters.

Changes

  • Removed exception condition for job parameters with no identifier job parameters.
  • Add test case.
  • Edit test cases made assuming empty identifying job parmaeters can be restarted.

injae-kim reacted with thumbs up emoji injae-kim reacted with heart emoji injae-kim reacted with rocket emoji
...ob parameters
commit 57498c7
Author: Seungyong Hong <jesse1231@naver.com>
Date: Sat Aug 16 15:37:35 2025 +0900
 Fix wrong behavior of JobRepository with empty identifying job parameters
 - Update test casese.
 Signed-off-by: Seungyong Hong <jesse1231@naver.com>
commit 4d5a3d6
Author: Seungyong Hong <jesse1231@naver.com>
Date: Sat Aug 16 14:44:25 2025 +0900
 Fix wrong behavior of JobRepository with empty identifying job parameters
 - formatting.
 Signed-off-by: Seungyong Hong <jesse1231@naver.com>
commit 0ce9de6
Author: Seungyong Hong <jesse1231@naver.com>
Date: Fri Aug 15 23:04:26 2025 +0900
 Fix wrong behavior of JobRepository with empty identifying job parameters
 - simplify brackets.
 Signed-off-by: Seungyong Hong <jesse1231@naver.com>
commit 45efc57
Author: Seungyong Hong <jesse1231@naver.com>
Date: Fri Aug 15 20:43:39 2025 +0900
 Fix wrong behavior of JobRepository with empty identifying job parameters
 - Job has to be not completed whether empty identifying job parameters or not.
 Signed-off-by: Seungyong Hong <jesse1231@naver.com>
Signed-off-by: Seungyong Hong <jesse1231@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Spring batch allows job without parameters to restart even if the job already completed successfully
1 participant

AltStyle によって変換されたページ (->オリジナル) /