Commit Graph

18 Commits

Author SHA1 Message Date
34af53130b Refactor and enhance ValidationException handling across types and components
- Simplify and extend type definitions in `types.ts` for dynamic and normalized keys.
- Update `ValidationExceptionInterface` to include new methods for filtering violations.
- Refactor `apiMethods.ts` to leverage updated exception types and key parsing.
- Adjust `WritePersonViolationMap` for stricter type definitions.
- Enhance `PersonEdit.vue` to use refined violation methods, improving validation error handling.
2025-09-23 21:26:12 +02:00
a5b06de92a Refactor validation handling in PersonEdit.vue: Replace hasValidationError and validationError with hasViolation and violationTitles. Introduce hasViolationWithParameter and violationTitlesWithParameter for enhanced field validation. Update RequiredIdentifierConstraint messages, improve API error mapping, and refine ValidationException structure with violationsList. Add tests and translations for identifier validation. 2025-09-22 14:03:58 +02:00
c19206be0c Enhance validation in PersonEdit: Introduce hasValidationError and validationError helpers for form inputs. Improve error feedback for fields such as firstName, lastName, gender, and others. Refactor postPerson to handle validation exceptions and map errors to specific fields. Update related methods, styles, and API error type definitions. 2025-09-22 14:03:53 +02:00
5ff374d2fa Refactor validation handling in apiMethods: Introduce strongly-typed ValidationException and ViolationFromMap. Replace generic validation logic with stricter, type-safe mappings. Update makeFetch to handle Symfony validation problems with enhanced error taxonomy. 2025-09-22 14:03:53 +02:00
Boris Waaub
61d1232e31 Implémenter une app vue avec la liste des tickets attribués 2025-07-18 16:06:16 +00:00
dcdfba5ccd eslint fixes 2025-07-09 17:46:36 +02:00
840ef6eed8 Resolve "Fusion actions d'accompagnement" 2025-07-02 10:53:16 +00:00
37227a3aeb Add attachments to workflow 2025-02-03 21:15:00 +00:00
aa0785fc71 Apply prettier rules 2024-11-14 18:47:38 +01:00
f05c25853c Fix of errors: automatic and some manual 2024-11-04 19:56:03 +01:00
3bb911b4d0 Update version within PUT request
Try to add api logic

check for version being the same instead of smaller

implementing optimistic locking and displaying correct message in frontend

rector fixes

adjust violation message and add translation in translation.yaml

add translator in apiController
2024-02-08 12:09:51 +01:00
8177a0fcce Feature: Provide api endpoint for reviewing addresses
Feature: show warning when address does not match the reference

Feature: [address] do update the address from address reference when clicked inside address details
2023-03-22 15:32:42 +01:00
f12f640cb4 Fixed: use correct comparison of body in makeFetch 2022-12-23 11:32:31 +01:00
ffd1145cd0 [apimethods] Fixed: prevent makeFetch to add a null body on GET and HEAD
requests
2022-09-30 17:35:43 +02:00
a9bc98738e fix weird bug with ts import 2022-06-27 14:51:48 +02:00
3ea630748a add feature add and delete range 2022-06-24 18:52:28 +02:00
75b2f6419e working calendar ranges with a subset of features 2022-06-24 17:24:56 +02:00
d8f80f3d02 wip on app2 2022-06-23 12:26:48 +02:00