"with-items" tasks should always have result of list type

Bug #1462189 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Guy Paz
Liberty
Fix Released
High
Guy Paz

Bug Description

"with-items" tasks should always have result of list type so that if we access it with $.task_name we don't need to worry about a number of items in the collection. Now if "with-items" collection contains just one element $.task_name will return a single action result.

tags: added: low-hanging-fruit
Changed in mistral:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on mistral (master)

Change abandoned by Guy Paz (<email address hidden>) on branch: master
Review: https://review.openstack.org/194228
Reason: Use change-Id: I7c25e2962677ee022a00f8019c1b503d8a8461c1
https://review.openstack.org/#/c/194547/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Guy Paz (<email address hidden>) on branch: master
Review: https://review.openstack.org/194051
Reason: Use change-Id: I7c25e2962677ee022a00f8019c1b503d8a8461c1 https://review.openstack.org/#/c/194547/

Changed in mistral:
status: In Progress → Fix Committed
Changed in mistral:
milestone: 1.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.