.. include:: /Includes.rst.txt .. _bugfix-1793228276: ========================================================= Bugfix: Keep the breaks of a day when Horilla corrects it ========================================================= Description =========== The stage ``attendance-corrections`` replaced all punches of a day by one interval from the corrected clock-in to the corrected clock-out, so the breaks between the punches counted as work. An approved request now changes only what it changed in Horilla: the first clock-in and the last clock-out. The punches between stay (information ``correctionKeptPunches``); where the corrected times do not fit them, the corrected pair replaces them as before (``correctionReplacedPunches``). When the worked time of the request is lower by a minute or more than the day that results, for example because of a punch of one second, the difference becomes one break in the longest work interval and the day ends at the worked time of Horilla (``correctionBreakAdded``, ``correctionBreakNotPlaceable``). A worked time that is missing, zero or unreadable (``attendanceWorkedHoursMissing``) or higher than the day (``attendanceWorkedHoursExceedSpan``) leaves the day as it is and is reported. The next run replaces the days that an earlier run imported and records their punches again. Impact ====== Imported days with an approved correction no longer carry the breaks as work time. Run the stage again on an import that was made before to correct those days. .. index:: Migration, package:adsum-migration, package:adsum-attendance