Bug #12760
produire une 404 sur les chemins inexistants sous les actions de workflow
Début:
27 juillet 2016
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
/backoffice/workflows/17/status/6/items/3/plop produit actuellement une erreur 500.
Exception: type = '<type 'exceptions.AttributeError'>', value = ''CommentableWorkflowStatusItem' object has no attribute 'q_admin_lookup'' Stack trace (most recent call first): File "/home/fred/src/eo/wcs/wcs/admin/workflows.py", line 299, in _q_lookup 297 298 def _q_lookup(self, component): > 299 t = self.item.q_admin_lookup(self.workflow, self.parent, component, 300 self.html_top) 301 if t:
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 7 ans
- Fichier 0001-admin-return-a-proper-404-on-invalid-action-path-127.patch 0001-admin-return-a-proper-404-on-invalid-action-path-127.patch ajouté
- Statut changé de Nouveau à En cours
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 7 ans
- Statut changé de En cours à Résolu (à déployer)
commit ceb4abe640a6c36c1db6a5a9881c6ac09fd6343b Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Jul 27 12:21:47 2016 +0200 admin: return a proper 404 on invalid action path (#12760)
admin: return a proper 404 on invalid action path (#12760)