-
Bug
-
Resolution: Done
-
Major
-
1.2.4.Final, 1.3.0.Beta6
-
None
ItemWriteListener's beforeWrite method can modify, add, or remove elements of the output list. Step metrics should correctly reflect the number of items that are actually written.
The current impl of ChunkRunner class does not account for the modification, removal or addition in ItemWriteListener when tracking WRITE_COUNT metrics.
Note that this problem exists only when an ItemWriteListener's beforeWrite method changes the size of the output list.
- is cloned by
-
JBEAP-14992 (7.1.z) JBERET-351 Step metrics WRITE_COUNT does not correctly reflect the number of items to be written
- Closed
- links to