.. include:: /Includes.rst.txt .. _bugfix-1793222328: ================================================== Bugfix: Refuse a mapping file without its root key ================================================== Description =========== A YAML mapping file of the Horilla import whose top-level key was missing or misspelled, for example ``apprenticeship-settings.yaml`` without ``companies:``, was read as empty. The stage imported nothing and said nothing. ``companies.yaml``, ``roles.yaml``, ``leave-types.yaml``, ``apprenticeship-settings.yaml`` and ``school-calendars.yaml`` with content but without their key now stop the import with ``mappingRootKeyMissing``, naming the file and the expected key. An empty file and a missing file behave as before. Impact ====== A mapping file that used to be ignored silently now fails the import. Fix the key named in the message. .. index:: CLI, package:adsum-migration