GET volumes REST API does not handle limit of 0
Bug #1289124 reported by
Steven Kaufer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Steven Kaufer |
Bug Description
This bug is a regression caused by https:/
This fix merged by bug 1288429 failed to check if the limit was 0 and, if specified, then an exception is thrown:
File "/opt/stack/
last_item = items[-1]
IndexError: list index out of range
This fix will this handle a limit of 0 and create test code to verify this path.
Changed in cinder: | |
assignee: | nobody → Steven Kaufer (kaufer) |
Changed in cinder: | |
importance: | Undecided → High |
milestone: | none → icehouse-rc1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/78856
Review: https:/