Mistral returns 500 code on getting nonexistent task

Bug #1326278 reported by Sergey Murashov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Nikolay Makhotkin

Bug Description

Steps to reproduce:
1. Send GET request on /workbooks/{workbook-name}/executions/{execution-id}/tasks/{nonexistent task id}

Actual result:
We get 500 status code and Details: {"debuginfo": null, "faultcode": "Server", "faultstring": "'NoneType' object has no attribute 'items'"}

Changed in mistral:
status: New → Confirmed
importance: Undecided → High
milestone: none → 0.1
Changed in mistral:
status: Confirmed → In Progress
assignee: nobody → Nikolay Makhotkin (nmakhotkin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/97781
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=591b9478902451544f34c483759959ea9f94c1b9
Submitter: Jenkins
Branch: master

commit 591b9478902451544f34c483759959ea9f94c1b9
Author: Nikolay Mahotkin <email address hidden>
Date: Wed Jun 4 16:40:06 2014 +0400

    Fix bug with getting nonexistent task

     * Also add deleting trigger

    Closes-bug: #1326278

    Change-Id: Iae4085664f37f1a72e3e1f01f38b04d825cf11bf

Changed in mistral:
status: In Progress → Fix Committed
Changed in mistral:
milestone: 0.1 → 0.0.4
Changed in mistral:
status: Fix Committed → Fix Released
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.