.. include:: /Includes.rst.txt .. _bugfix-1792991199: ====================================================== Bugfix: A dry run resolves the records the import maps ====================================================== Description =========== In a dry run, the later stages saw a company listed in ``companies.yaml`` under a placeholder id instead of the adsum company named by its ``target``. Every lookup of an existing record by company failed, so ``run-all --dry-run`` reported ``unknownLeaveType`` and ``noSicknessType`` for every leave type with the action ``existing`` or ``sickness``, errors the real run does not have. A decision can now name the existing record its row is mapped onto; the dry run hands that id to the later stages. The companies, the leave types mapped onto an existing type and the job roles mapped onto a role of the same name use it. Only records the run would create keep a placeholder. Impact ====== ``run-all --dry-run`` reports the same issues as the real run for these stages, and the stages after them are no longer blocked by errors that are not there. .. index:: Migration, package:adsum-migration