Projet

Général

Profil

Support #81137

vérification de l'usage du filtre "age_in_working_days" sur toutes les instances

Ajouté par Serghei Mihai il y a 8 mois. Mis à jour il y a 8 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Support technique
Catégorie:
-
Version cible:
-
Début:
13 septembre 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non
Club:
Non

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

Lié à w.c.s. - Bug #71759: age_in_working_days fonctionne à l'envers avec les dates futures, renvoi l'opposé de l'âgeFermé28 novembre 2022

Actions

Historique

#1

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é
#2

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/

#3

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/

#4

Mis à jour par Nicolas Roche il y a 8 mois

Formulaires issus du catalogue :

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.

#7

Mis à jour par Serghei Mihai il y a 8 mois

Serghei Mihai a écrit :

A vérifier sur les prods externes:

C'est fait.

#8

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)

#9

Mis à jour par Serghei Mihai il y a 8 mois

  • Statut changé de Nouveau à Solution déployée
#10

Mis à jour par Transition automatique il y a 5 mois

Automatic expiration

Formats disponibles : Atom PDF