Support #81137
vérification de l'usage du filtre "age_in_working_days" sur toutes les instances
0%
Description
Suite au dev #71759 le filtre age_in_working_days
retourne des valeurs négatives et cela peut poser problèmes dans certains formulaires/workflow (ex: #81064).
Il faudrait faire le tour des recettes (SaaS et hors Saas) et prods afin de vérifier si le changement du filtre ne pète pas l'usage.
Demandes liées
Historique
Mis à jour par Serghei Mihai il y a 8 mois
- Lié à Bug #71759: age_in_working_days fonctionne à l'envers avec les dates futures, renvoi l'opposé de l'âge ajouté
Mis à jour par Serghei Mihai il y a 8 mois
- Assigné à mis à Support technique
A vérifier sur le Saas de recette:
$ sudo -u wcs wcs-manage grep --all-tenants 'age_in_working_days' --urls https://demarches-bmallet.test.entrouvert.org/backoffice/forms/53/fields/38/ https://demarches-croix.test.entrouvert.org/backoffice/forms/4/fields/38/ https://demarches-croix.test.entrouvert.org/backoffice/forms/53/fields/24/ https://demarches-croix.test.entrouvert.org/backoffice/workflows/33/status/17/items/2/ https://demarches-montoulouse.test.entrouvert.org/backoffice/workflows/71/status/2/items/2/ https://demarches-montoulouse.test.entrouvert.org/backoffice/workflows/191/status/2/items/4/ https://demarches-montoulouse.test.entrouvert.org/backoffice/workflows/205/status/2/items/4/ https://demarches-montoulouse.test.entrouvert.org/backoffice/workflows/226/status/2/items/4/ https://demarches-montoulouse.test.entrouvert.org/backoffice/workflows/229/status/2/items/4/ https://demarches-orenard.test.entrouvert.org/backoffice/cards/67/fields/462c9479-d3e1-488d-9d7c-0d3a5a758195/ https://demarches-orenard.test.entrouvert.org/backoffice/cards/67/fields/be59b1f2-c709-41e9-839b-f2a8cf57a18c/ https://demarches-orenard.test.entrouvert.org/backoffice/workflows/86/status/recorded/items/3/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/3/status/accepted/items/29/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/3/status/finished/items/11/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/10/status/4/items/2/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/11/status/accepted/items/18/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/11/status/finished/items/1/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/7/items/20/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/7/items/22/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/2/items/12/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/2/items/13/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/3/items/18/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/4/items/8/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/12/status/4/items/9/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/7/items/2/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/7/items/4/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/2/items/2/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/2/items/3/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/3/items/2/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/4/items/3/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/14/status/4/items/4/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/15/status/accepted/items/18/ https://demarches-sau.guichet-recette.grandlyon.com/backoffice/workflows/15/status/finished/items/1/ https://formulaires-cserale.test.entrouvert.org/backoffice/workflows/23/status/7/items/2/ https://demarches-cnil.test.entrouvert.org/backoffice/forms/91/fields/690/ https://demarches-cnil.test.entrouvert.org/backoffice/forms/91/fields/691/ https://demarches-cnil.test.entrouvert.org/backoffice/forms/91/fields/696/ https://demarches-cnil.test.entrouvert.org/backoffice/forms/91/fields/693/ https://demarches-cnil.test.entrouvert.org/backoffice/workflows/69/status/2/items/8/ https://demarches-cnil.test.entrouvert.org/backoffice/workflows/75/status/13/items/1/ https://demarches-orleans.test.entrouvert.org/backoffice/workflows/180/status/2/items/6/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/24/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/10/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/rejected/items/8/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/finished/items/6/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/17/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/10/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/23/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/rejected/items/8/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/finished/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/17/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/10/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/44/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/rejected/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/28/items/10/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/42/items/5/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/finished/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/35/items/6/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/10/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/29/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/rejected/items/9/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/finished/items/5/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/20/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/35/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/10/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/rejected/items/5/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/finished/items/7/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/20/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/30/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/29/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/finished/items/7/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/25/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/10/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/35/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/24/items/6/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/finished/items/2/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/20/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/24/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/10/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/rejected/items/5/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/finished/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/17/items/4/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/9/items/6/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/9/items/5/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/3/items/2/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/30/items/1/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/29/items/3/ https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/16/items/2/
Mis à jour par Serghei Mihai il y a 8 mois
Et sur le SaaS de prod:
$ sudo -u wcs wcs-manage grep --all-tenants 'age_in_working_days' --urls https://demarches-montoulouse.eservices.toulouse-metropole.fr/backoffice/workflows/92/status/2/items/3/ https://demarches-support.grandlyon.com/backoffice/workflows/10/status/accepted/items/27/ https://demarches-support.grandlyon.com/backoffice/workflows/10/status/finished/items/11/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/7/items/2/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/7/items/4/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/2/items/2/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/2/items/3/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/3/items/2/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/4/items/3/ https://demarches-support.grandlyon.com/backoffice/workflows/14/status/4/items/4/ https://formulaires.mesdemarches.ville-croix.fr/backoffice/forms/5/fields/38/ https://formulaires.mesdemarches.ville-croix.fr/backoffice/forms/8/fields/24/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/10/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/44/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/rejected/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/28/items/2/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/42/items/4/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/finished/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/121/status/35/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/124/status/10/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/124/status/29/items/1/ https://formulaires.demarches.rouen.fr/backoffice/workflows/124/status/rejected/items/5/ https://formulaires.demarches.rouen.fr/backoffice/workflows/124/status/finished/items/3/ https://formulaires.demarches.rouen.fr/backoffice/workflows/124/status/20/items/4/
Mis à jour par Nicolas Roche il y a 8 mois
Ici, c'était déjà corrigé ?
https://demarches-orleans.test.entrouvert.org/backoffice/workflows/180/status/2/items/6/#open:advanced
À noter à Rouen en recette :
Ici,
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/rejected/items/8/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/finished/items/6/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/42/status/17/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/rejected/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/28/items/10/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/finished/items/3/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/rejected/items/9/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/finished/items/5/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/200/status/20/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/35/items/1/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/rejected/items/5/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/finished/items/7/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/224/status/20/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/finished/items/7/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/228/status/25/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/24/items/6/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/finished/items/2/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/233/status/20/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/rejected/items/5/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/finished/items/3/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/238/status/17/items/4/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/9/items/6/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/9/items/5/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/3/items/2/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/241/status/16/items/2/
j'ai corrigé :
{{ form_receipt_date|age_in_working_days:today|date:"d/m/Y"|subtract:form_var_delai_question }}
en
{{ form_receipt_date|age_in_working_days|abs|subtract:form_var_delai_question }}
De façon similaire
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/10/items/3/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/196/status/23/items/1/
https://demarches-rouen.test.entrouvert.org/backoffice/workflows/198/status/35/items/6/
j'ai simplifié :
{{ form_var_date_debut_question|age_in_working_days:today|add:form_var_delai_question }}
en
{{ form_var_date_debut_question|age_in_working_days|abs|add:form_var_delai_question }}
mais j'ai laissé ailleurs.
Mis à jour par Serghei Mihai il y a 8 mois
Sur les recettes externes vérifier:
- https://demarches-preprod-moncompte.nanterre.fr/backoffice/forms/197/fields/62/
- https://demarches-venissieux-test.demarches.sitiv.fr/backoffice/forms/342/fields/156/
- https://demarches-departement13.test.entrouvert.org/backoffice/workflows/143/status/3/items/3/
- https://demarches-departement13.test.entrouvert.org/backoffice/workflows/143/status/11/items/6/
- https://demarches-departement13.test.entrouvert.org/backoffice/workflows/143/status/15/items/5/
- https://demarches-departement13.test.entrouvert.org/backoffice/workflows/162/status/7/items/2/
Mis à jour par Serghei Mihai il y a 8 mois
A vérifier sur les prods externes:
- https://services.demarches.venissieux.fr/backoffice/forms/135/fields/156/
- https://demarches.demarches.ac-versailles.fr/backoffice/workflows/84/status/just_submitted/items/2/
- https://demarches.demarches.ac-versailles.fr/backoffice/workflows/84/status/just_submitted/items/3/
- https://demarches.demarches.ac-versailles.fr/backoffice/workflows/87/status/recorded/items/5/
- https://demarches.demarches.ac-versailles.fr/backoffice/workflows/101/status/just_submitted/items/1/
- https://demarches.demarches.ac-versailles.fr/backoffice/workflows/101/status/just_submitted/items/2/
- https://formulaires.moncompte.departement13.fr/backoffice/workflows/79/status/3/items/3/
- https://formulaires.moncompte.departement13.fr/backoffice/workflows/79/status/11/items/6/
- https://formulaires.moncompte.departement13.fr/backoffice/workflows/79/status/15/items/5/
- https://formulaires.moncompte.departement13.fr/backoffice/workflows/109/status/7/items/2/
Mis à jour par Serghei Mihai il y a 8 mois
Serghei Mihai a écrit :
A vérifier sur les prods externes:
C'est fait.
Mis à jour par Nicolas Roche il y a 8 mois
(J'ai corrigé les instances de test SaaS et externes, et j'ai vérifié que les instances de prod SaaS ont bien été corrigées préalablement)