---
title: "Bugfix: Punches of the same second are imported once"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793005999@main"
source: "Changelog/1.0.0/Bugfix-1793005999-MergePunchesOfTheSameSecond.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Punches of the same second are imported once {#bugfix-1793005999}

## Description {#description}

Horilla stores fractions of a second, but adsum records one punch of an action per second and employee. Two activities
of an employee whose clock-ins fell into the same second (double clicks) made the second write fail with a unique
violation. Of two clock-ins in the same second, and likewise of two clock-outs, only the first is now imported (by the
fraction of a second, then by the lower activity id). The later one is skipped and reported with the warning
`duplicatePunchMerged`, whose field names the activity of the first. A clock-in and a clock-out in the same second
stay. An open activity no longer counts activities within its own second as later ones, and activities that share a
second no longer count as overlapping.

## Impact {#impact}

The `punches` stage completes on such data. A later activity of a double click whose clock-out would then follow a
clock-out is refused by the sequence of punches and reported as `targetRefused`.
