Project

General

Profile

Bug #66878

trace sur action globale avec pas d'actions dedans

Added by Frédéric Péters about 2 months ago. Updated about 2 months ago.

Status:
Solution proposée
Priority:
Normal
Target version:
-
Start date:
01 July 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Pas cherché à voir comment le workflow avait été construit/importé/etc. mais on peut éviter,

Exception:
  type = '<class 'AttributeError'>', value = ''NoneType' object has no attribute 'items''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 116, in perform_items
   114         # performs the items of the new status
   115         wf_status = formdata.get_status()
>  116         url = perform_items(wf_status.items, formdata, depth=depth - 1, event='continuation') or url
...
  File "/usr/lib/python3/dist-packages/wcs/formdata.py", line 660, in perform_global_action
   658             if action.id != action_id:
   659                 continue
>  660             return perform_items(action.items, self, event=(event_name, action.id), global_action=True)
   661
   662     def get_workflow_messages(self, position='top', user=None):

Files

History

#1

Updated by Frédéric Péters about 2 months ago

Le patch le plus bidon.

Also available in: Atom PDF