demarches-normaliennes/spec
Paul Chavard 9dd1973e18
fix(dossier): always remove previous champ version
If champ type_de_champ gets out of sync with its type, the persisted champ will not be part of the filled champs collection. In the merge code, we need to remove the previous champ, disregarding its type. The problem should have been caught earlier, but our unique index is not actually unique because our version of PG misses `NULLS NOT DISTINCT`. The unique index only works for champs in repetitions.
2024-12-16 21:49:51 +00:00
..
components refactor(champs): update specs 2024-12-09 10:06:13 +01:00
controllers fix apres retours 2024-12-16 15:57:16 +01:00
factories fix(dossier): add champs to dossiers in factories 2024-12-10 11:30:51 +01:00
fields Add a spec file for the JWT Administrate Field 2024-09-17 16:45:45 +02:00
fixtures feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
graphql refactor(champs): update specs 2024-12-09 10:06:13 +01:00
helpers Fixe les tests 2024-11-19 15:24:41 +00:00
jobs Rename purge => hide 2024-12-06 16:34:21 +01:00
lib refactor(champs): update specs 2024-12-09 10:06:13 +01:00
mailers [#10951] Create a cron job to warn user with a old brouillon 2024-12-03 10:29:21 +01:00
middlewares chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
models fix(dossier): always remove previous champ version 2024-12-16 21:49:51 +00:00
policies cleanup: remove dead code 2024-11-05 21:57:05 +01:00
services refactor(champs): update specs 2024-12-09 10:06:13 +01:00
support Remove useless code 2024-10-23 14:58:21 +02:00
system Améliore la liste des démarches pour l'interface instructeuer 2024-12-16 15:57:16 +01:00
tasks/maintenance migration(champs): remove non fillable champs and add repetition rows 2024-12-16 12:21:14 +00:00
types add filtered_column type 2024-10-15 16:09:05 +02:00
validators chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
views Adapte le style pour les avis 2024-12-16 15:57:17 +01:00
rails_helper.rb refactor(champ): make row_id a named param 2024-12-09 10:06:13 +01:00
spec_helper.rb change passwords in specs 2024-09-16 15:28:11 +02:00