on-clause cannot reference a task name that contains characters other than [a-zA-Z0-9_]
Bug #1797439 reported by
Bob Haddleton
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Bob Haddleton |
Bug Description
The OnClauseSpec defines a Task name as a string that matches '\w+' which equates to [a-zA-Z0-9_], but this limitation is not enforced on task names, so it is possible to define a task name with a "-" character - or just about any other character outside that range, and the task will not be reachable from an on-clause.
Given the possibility of breaking existing workflows by imposing restrictions on the characters that could be used in task names, I'd suggest relaxing the definition of a Task name in the OnClauseSpec, to something like \S+, which more closely aligns with the permitted values for key names by YAML and JSON.
Changed in mistral: | |
assignee: | nobody → Bob Haddleton (bob-haddleton) |
status: | New → In Progress |
Changed in mistral: | |
milestone: | none → stein-1 |
importance: | Undecided → High |
tags: | added: backport rocky |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/609794
Review: https:/