Skip to content

[Bug] NewSinglePageBase may break pagination in multiple packages #925

@artem-lifshits

Description

@artem-lifshits

Description:

NewSinglePageBase causes NewAllPages() to return only the first page of results. Any paginated API using this type silently returns incomplete data.

Fixed for RMS in #924. ~75 other files need checking - if opts have Limit/Marker and API returns page_info.next_marker, replace NewSinglePageBase with NewPageInfoBase.

Affected packages:

  • apigw/v2,
  • hss/v5
  • vpcep/v1
  • taurus/v3
  • ddm
  • evs/v2
  • evpn/v5
  • er/v3
  • lts/v2
  • sfs_turbo/v1
  • sdrs/v1
  • vpc/v3
  • cci/v2
  • cbr/v3
  • dcaas/v3
  • networking/v1
  • gemini/v3

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions