Project

General

Profile

Development #70109

changement de workflow de "inconnu" vers un workflow existant, échec "status mapping is required if there are formdatas"

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

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11 October 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Exception:
  type = '<class 'AssertionError'>', value = 'status mapping is required if there are formdatas'

Stack trace (most recent call first):
  File "/home/fred/src/eo/wcs/wcs/formdef.py", line 1986, in change_workflow
  1984         formdata_count = self.data_class().count()
  1985         if formdata_count:
> 1986             assert status_mapping, 'status mapping is required if there are formdatas'
  1987             assert all(
  1988                 status.id in status_mapping for status in old_workflow.possible_status

  locals: 
     formdata_count = 7
     new_workflow = <Workflow 'Par défaut' id:_default>
     old_workflow = <Workflow 'Inconnu' id:_unknown>

Also available in: Atom PDF