Hi Adam,

Thanks, it does match what we expect, although on develop it doesn't happen
that way:

   - The retry runs in the same transaction, which the failed business step
   has already marked as rollback-only.
   - After the retries the loan is skipped, and at the end of the chunk
   Spring rolls back the whole chunk without an exception.
   - No loan in the chunk is retried separately, the error remains empty
   for all of them, and the job reports success.

Would you accept a PR that brings back the behaviour you describe for
processing failures (each loan of the chunk retried in its own transaction,
the error recorded on the lock of those that still fail)?

Best regards,
Pitor Wargulak

On Mon, Oct 26, 2026 at 2:28 PM Ádám Sághy <[email protected]> wrote:

> Hi
>
> The following should happen:
>
>    - Based on configuration, it should be retried (all 100) in separate
>    transactions.
>    - If still fails, the `error` column should contains the exception
>    which happened during the processing
>    - Since there is an `error` any monetary operations or catch up should
>    pick up and retry
>
>
> I hope this helps.
>
> Regards,
> Adam S
>
> On Oct 26, 2026, at 1:22 PM, Piotr Wargulak via dev <
> [email protected]> wrote:
>
> Hello Community,
>
> I would like to bring attention to the bug FINERACT-3004.
>
> When one loan's business step fails during a scheduled COB run (Loan COB
> or WC COB), the work for every loan in that chunk (up to 100 loans) is
> thrown away without any error:
>
>    - None of those loans is closed for the day.
>    - All of them keep their COB lock with no error recorded, so operator
>    writes on them are refused until catch-up runs.
>    - The job still reports success.
>
> Two integration tests demonstrating this are attached to the ticket.
>
> Do you reproduce it too? Is it intended, what a solution could/should be?
>
> Best regards,
> Pitor Wargulak
> SolDevelo
>
>
>
>
> *SolDevelo* Sp. z o.o. [LLC] / www.soldevelo.com
> Al. Zwycięstwa 96/98
> <https://www.google.com/maps/search/Al.+Zwyci%C4%99stwa+96%2F98?entry=gmail&source=g>,
> 81-451, Gdynia, Poland
> Phone: +48 58 782 45 40 / Fax: +48 58 782 45 41
>
>
>

-- 
*
SolDevelo* Sp. z o.o. [LLC] / www.soldevelo.com 
<http://www.soldevelo.com>
Al. Zwycięstwa 96/98, 81-451, Gdynia, Poland
Phone: +48 58 782 45 40 / Fax: +48 58 782 45 41

Reply via email to