mistral/releasenotes/notes/fix_task_state_info_assignment-e25481ce8c3193ba.yaml
Renat Akhmerov 43a8bddc24 Fix how action result is assigned to task 'state_info' field
Closes-Bug: #1802477

Change-Id: Ia8848b3bb0417f66422c4995b64be7a803dde1e7
2018-11-09 16:14:25 +07:00

10 lines
455 B
YAML

---
fixes:
- |
If an action execution fails but returns a result as a list (error=[])
the result of this action is assigned to the task execution 'state_info'
field which is a string according to the DB model. On Python 3 it this
list magically converts to a string. On Python 2.7 it doesn't. The reason
is probably in how SQLAlchemy works on different versions of Python. This
has now been fixed with an explicit type coercion.