Issue Details (XML | Word | Printable)

Key: BATCH-1507
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dave Syer
Reporter: Dave Syer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch

FlowJob.getStep() only looks at state names, not step names

Created: 08/Feb/10 04:20 AM   Updated: 08/Feb/10 04:38 AM   Resolved: 08/Feb/10 04:37 AM
Component/s: None
Affects Version/s: 2.1.0
Fix Version/s: 2.1.1

Time Tracking:
Original Estimate: 0.06d
Original Estimate - 0.06d
Remaining Estimate: 0d
Remaining Estimate - 0d
Time Spent: 0.06d
Time Spent - 0.06d


 Description  « Hide
FlowJob.getStep() only looks at state names, not step names, so anyone using the StepLocator interface is in for a surprise. The state name happens to be the same as the step name in the existing uint tests (irony), but when created by the XML namespace parsers they are different.

Dave Syer added a comment - 08/Feb/10 04:37 AM
Fixed by trying both the name passed in and a concatenation of that and the job name.