.. include:: /Includes.rst.txt .. _bugfix-1793243384: ====================================================================== Bugfix: Correct a day by its validated record when the request is open ====================================================================== Description =========== A validated attendance record of Horilla with a request that is not approved, or without requested data, on a day with activities was only reported with ``attendanceDiffersFromPunches`` and applied nowhere, so the day stayed at the punches although a person had confirmed the record. A validated record counts as confirmed, so the stage ``attendance-corrections`` now takes its clock-in, clock-out and worked time as an approved correction of the day, under the same rules as an approved request. The stage ``attendance-without-punches`` leaves such a record to it. A worked time above 24 hours, or above the span of the pair by more than the span, such as ``7257:21``, is not used. The day stays as the correction makes it, without a break, and is reported with ``attendanceWorkedHoursImplausible``. Impact ====== Run the stages again on an import that was made before: the days of such records are corrected, and the records leave the list of ``attendanceDiffersFromPunches``. A validated record without any request is still only reported. .. index:: Migration, package:adsum-migration