Omitting the name from the FlatFileItemReaderBuilder results in an exception. [BATCH-2623]
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start by comparing the FlatFileItemReaderBuilder entry point with FlatFileItemReader's default-name behavior, then locate the builder's existing tests. Verify the behavior when no name is supplied and add a regression test showing that the builder matches the plain reader; done means that usage no longer throws an exception.
Written by the indexing model from the issue text.
Description
Marten Deinum opened BATCH-2623 and commented
During conversion of a FlatFileItemReader to the usage of the FlatFileItemReaderBuilder I ran into the issue that I now suddenly must provide a name.
The FlatFileItemReader by default sets the name to the short classname and I would expect the builder to honor this, however instead the builder itself is throwing an exception. I would expect that I don't have the explicitly name the constructed reader just as with the plain configuration.
Affects: 4.0.0
- Dominant language
- Java
- Stars
- 3k
- Forks
- 2.5k
- Avg merge
- 6d 53m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spring-projects/spring-batch
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
spring-projects/spring-batch#5539 · 1 comment ·
-
status: waiting-for-triage type: feature
Difficulty 1/5 Under an hour Newbie friendliness 90/100
spring-projects/spring-batch#5538 ·
-
status: waiting-for-triage type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
spring-projects/spring-batch#5537 ·
-
in: infrastructure type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
spring-projects/spring-batch#5520 ·
-
in: infrastructure type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
spring-projects/spring-batch#5519 ·
All issues in spring-projects/spring-batch
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100