ironic/releasenotes/notes/fix-pagination-marker-with-custom-field-query-65ca29001a03e036.yaml
Will Szumski 02a3e77a3e Ensure pagination marker is always set
Previously the pagination marker was not being set for list
queries where `uuid` was not in the list of requested fields.
The affected endpoints were: port, portgroup, volume_target,
volume_connector, node and chassis.

The next marker contains the UUID of the last element that
was returned to the client. This information was being
removed from elements in the collection. This meant that we
could no longer return a UUID for this marker. An extra
parameter, `sanitize` was added to `convert_with_links`.
This allows us to delay stripping this field from the
elements until after the next marker has been set.

Story: 2003192
Task: 23346
Change-Id: Ied45f698c3431c5113bae46c1a4f1de1cdaa2d74
2018-09-11 20:32:34 +01:00

9 lines
368 B
YAML

---
fixes:
- |
Fixes an issue where the pagination marker was not being set if ``uuid`` was not
in the list of requested fields when executing a list query. The affected API endpoints
were: port, portgroup, volume_target, volume_connector, node and chassis.
`See story 2003192 for more details <https://storyboard.openstack.org/#!/story/2003192>`_.