pases 4 ticket updates

This commit is contained in:
Mark Gregory
2026-06-23 11:05:48 +01:00
parent a6148f9bfd
commit 2266298b6c
5 changed files with 142 additions and 57 deletions
+11
View File
@@ -105,3 +105,14 @@
- Added input, keyup, paste, blur, and submit-capture synchronisation to prevent false "body field is required" validation failures.
- Changed the hidden body field to live Livewire binding so the server receives the latest editor content without requiring a page reload.
- Preserved append-only changelog history.
- version: 1.9.40
date: 2026-06-23
type: bugfix
summary: Prevent duplicate Helpdesk ticket references during ticket creation.
changes:
- Updated Helpdesk ticket reference generation to use the highest existing yearly reference suffix instead of the latest database row id.
- Added a PostgreSQL transaction-level advisory lock around reference generation to reduce concurrent ticket creation collisions.
- Added retry handling around ticket creation so reference unique-index collisions do not produce a user-facing 500 error.
- Added regression coverage for out-of-order ticket references so lower references cannot be reused accidentally.
- Preserved append-only changelog history.