Mistral returns 500 code on updating nonexistent task

Bug #1326284 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 PUT 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": "Failed to create necessary DB objects: 'NoneType' object has no attribute '__getitem__'"}

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

Fix proposed to branch: master
Review: https://review.openstack.org/98786

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

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

commit f11aa226846c2ca8db4afd93a1f1439ef672cdc4
Author: Nikolay Mahotkin <email address hidden>
Date: Mon Jun 9 17:23:20 2014 +0400

    Fix update nonexistent task

    Closes-bug: #1326284

    Change-Id: I0eeaff7fbf44c975d2aac0a4839ad0f5fecd3276

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.