Bug #12760
produire une 404 sur les chemins inexistants sous les actions de workflow
Start date:
27 July 2016
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
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:
Files
Associated revisions
History
Updated by Frédéric Péters over 6 years ago
- File 0001-admin-return-a-proper-404-on-invalid-action-path-127.patch 0001-admin-return-a-proper-404-on-invalid-action-path-127.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
Updated by Frédéric Péters over 6 years ago
- Status changed from En cours to 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)