.. include:: /Includes.rst.txt .. _bugfix-1793005569: ========================================================= Bugfix: A row the database refuses no longer ends the run ========================================================= Description =========== A row that the database refused with an error such as a unique violation was reported as ``targetRefused``, but the failed flush had closed the entity manager, so the next row ended the run with ``The EntityManager is closed`` and the run stayed ``running``. The import now writes each row at once, replaces a closed entity manager after the refusal and goes on with the next row of the batch. The mappings and issues of the rows before the refused one stay. Impact ====== A refused row is one issue; the stage imports the rest. A flush after every row costs little against the command each row already runs. .. index:: Migration, package:adsum-migration