Project

General

Profile

Bug #12760

produire une 404 sur les chemins inexistants sous les actions de workflow

Added by Frédéric Péters over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
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

Revision ceb4abe6 (diff)
Added by Frédéric Péters over 6 years ago

admin: return a proper 404 on invalid action path (#12760)

History

#1

Updated by Frédéric Péters over 6 years ago

#2

Updated by Benjamin Dauvergne over 6 years ago

Ack.

#3

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)
#4

Updated by Frédéric Péters over 6 years ago

  • Target version set to v1.55
#5

Updated by Frédéric Péters over 6 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF