Bug #40245
accès page brouillon en backoffice et aucun rôle configuré pour la saisie
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
27 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
type = '<class 'TypeError'>', value = 'argument of type 'NoneType' is not iterable' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/backoffice/management.py", line 2234, in _q_index 2232 if self.filled.backoffice_submission: 2233 for role in get_request().user.get_roles(): > 2234 if role in self.formdef.backoffice_submission_roles: 2235 return redirect('../../../submission/%s/%s/' % ( 2236 self.formdef.url_name, self.filled.id))
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-backoffice-skip-backoffice-submitters-check-if-there.patch 0001-backoffice-skip-backoffice-submitters-check-if-there.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Nicolas Roche il y a environ 4 ans
(Je met juste un peu de contexte, désolé de m'immiscer ici)
Sur https://demarches-strasbourg.test.entrouvert.org/backoffice/management/demarches-titulaires-emplacement/15/
si on clique dans l'historique du statut "Demande enregistrée", ex :
Créé une nouvelle demande Block_Nom-Prenom 3 -> https://demarches-strasbourg.test.entrouvert.org/backoffice/management/block_nom-prenom/3/
alors ça casse (parce que cette demande n'existe pas).
L'action est définie ici : https://demarches-strasbourg.test.entrouvert.org/backoffice/workflows/198/status/2/items/1/
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 85bc04364d6721693b1fb41aed28ebaf047f7d71 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Thu Feb 27 17:41:02 2020 +0100 backoffice: skip backoffice submitters check if there are none (#40245)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
backoffice: skip backoffice submitters check if there are none (#40245)