852eda205664174c9635b671d6942737e7a8af20
Editing a ligne_comptable with an inconsistent répartition correctly blocked the save (setErrorByName() on field_repartition), but the message text had nowhere to render: it normally goes through the page's status-messages region, which isn't part of this standalone AJAX ReplaceCommand fragment. The form re-render did mark every répartition row with a subtle red outline, but with no visible explanation the modal just looked stuck. figli_compta_ledger_node_form_ajax_submit() now also emits a MessageCommand for each form error, mirroring the pattern already used for the success path's messenger() messages. Verified live: breaking a répartition sum and clicking Save now shows a proper error toast with the exact mismatch amount, the modal correctly stays open, and the node is confirmed unchanged in the database.
Description
No description provided
1.2 MiB
Languages
php
44.6%
JavaScript
32.8%
CSS
13.4%
Twig
9.2%