Bug #66878
trace sur action globale avec pas d'actions dedans
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
Updated by Frédéric Péters about 2 months ago
- File 0001-workflows-do-not-crash-performing-None-items-66878.patch 0001-workflows-do-not-crash-performing-None-items-66878.patch added
- Status changed from Nouveau to Solution proposée
- Patch proposed changed from No to Yes
Le patch le plus bidon.