Files
familienarchiv/backend
Marcel cdea8af290 fix(journey): detect duplicate document via PSQLException SQLState 23505
Replace fragile constraint-name string match in isDuplicateDocumentViolation()
with a check on PSQLException.getSQLState() == "23505" (unique_violation), so
constraint renames can never silently break the 409 response. Update and extend
JourneyItemServiceTest to use real PSQLException wrapping in all DIVE scenarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 13:37:07 +02:00
..
2026-03-17 13:33:02 +00:00
2026-03-17 13:33:02 +00:00