Double check-in on barcode scan #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix: Removed duplicate doAutoCheckin call from handleBarcode — showScannedAsset already handles it.
Commit:
95a3681Root cause: Both handleBarcode() and showScannedAsset() called doAutoCheckin(asset.id), resulting in two check-in records per scan.