spring-projects / spring-projects/spring-batch

Inheriting from parent step with skip-limit/retry-limit causes IllegalArgumentException when the inheriting bean doesn't define skip-limit [BATCH-1836]

Open
#1,753 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: core status: waiting-for-reporter type: bug
Dominant language
Java
Stars
3k
Forks
2.5k
Avg merge
6d 53m
Merged PRs (30d)
3

Description

Robin Krom opened BATCH-1836 and commented

Hello,

today I finally tried to update from 2.1.6 to 2.1.8 but with 2.1.8.RELEASE the issue reported in BATCH-1739 hasn't been resolved. Due to resolving policies it's hard to try snapshots from where I work, haven't been able to test 2.2.0

The exampleJob.xml in BATCH-1739 should help to test the issue...

Best wishes,
Robin


Affects: 2.1.8

Reference URL: http://forum.springsource.org/showthread.php?t=108452

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the exampleJob.xml referenced from BATCH-1739 and reproduce the configuration using parent-step inheritance under Spring Batch 2.1.8. Trace the skip-limit/retry-limit handling to identify why an inheriting bean without those attributes raises IllegalArgumentException; done means that configuration loads without the exception and has a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.