utils.cut_dict() returns more characters than the length parameter specifies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Bob Haddleton |
Bug Description
The utils.cut_dict() method returns a string representation of the provided dict, truncated to some number of characters that may or may not be close to the length parameter, depending on the structure and contents of the dict provided.
This can lead to hung workflows when the Execution.
2018-03-
The cut_dict() method needs to return a string no longer than what the length parameter specifies to ensure that the state_info field is truncated properly and does not cause hung workflows.
Changed in mistral: | |
assignee: | nobody → Bob Haddleton (bob-haddleton) |
status: | New → In Progress |
Changed in mistral: | |
milestone: | none → rocky-1 |
Changed in mistral: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/557952
Review: https:/