paginate_query explodes when sort_keys contains a boolean column
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Confirmed
|
Medium
|
Kevin Benton |
Bug Description
The paginate_query function explodes if a marker is passed in and one of the sort_keys is a boolean column.
File "neutron/
File "neutron/
File "/opt/stack/
File "/opt/stack/
return self.operate(gt, other)
File "/opt/stack/
return op(self.comparator, *other, **kwargs)
File "/opt/stack/
return self.operate(gt, other)
File "/opt/stack/
return op(self.
File "/opt/stack/
return self.operate(gt, other)
File "/opt/stack/
return op(self.comparator, *other, **kwargs)
File "/opt/stack/
return self.operate(gt, other)
File "<string>", line 1, in <lambda>
File "/opt/stack/
return o[0](self.expr, op, *(other + o[1:]), **kwargs)
File "/opt/stack/
"Only '=', '!=', 'is_()', 'isnot()' operators can "
ArgumentError: Only '=', '!=', 'is_()', 'isnot()' operators can be used with None/True/False
Changed in oslo.db: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
Changed in oslo.db: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
This issue was fixed in the openstack/oslo.db 4.18.0 release.