negative api offsets

Bug #726763 reported by Brian Lamar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Brian Lamar

Bug Description

I recently fixed limits/offsets to ensure that given values were integers. I didn't account for the fact that negative values are integers and actually work quite oddly with Python arrays. Currently, negative numbers can be given which produce somewhat valid, but undesirable results.

TLDR; We don't need to support negative limits and offsets, so this is a bug.

Related branches

Brian Lamar (blamar)
Changed in nova:
status: New → In Progress
assignee: nobody → Brian Lamar (blamar)
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
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.