Using yaql task function with non existing task results in IndexError
Bug #1520930 reported by
Moshe Elisha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Moshe Elisha |
Bug Description
Using the "task" YAQL function and passing a non existing task name should result in a better user facing error message.
Executing the following workflow:
---
version: '2.0'
wf:
type: direct
output:
task_name: <% task(non_
tasks:
task1:
action: std.noop
Will result in:
File "/usr/lib/
task_ex = task_execs[-1]
IndexError: list index out of range
Changed in mistral: | |
assignee: | nobody → Moshe Elisha (melisha) |
Changed in mistral: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-1 |
Changed in mistral: | |
milestone: | mitaka-1 → 2.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/251130
Review: https:/