Skip to content

/collections/{collection_id}/items Token Pagination broken in 3.0.0b1, 3.0.0b2 #731

@captaincoordinates

Description

@captaincoordinates

Minimum repro case here.

AsyncBaseCoreClient#item_collection receives a None token in 3.0.0b1 and 3.0.0b2 when token is provided as a query string parameter. The minimum repro case asserts token is not None here when hitting /collections/collection_id/items?token=query-string-token-value. The test passes in 3.0.0a4 but fails in 3.0.0b1 or 3.0.0b2.

To test execute scripts/test.sh. The test hits the same endpoint across three different versions of stac-fastapi:

  • 3.0.0a4
  • 3.0.0b1
  • 3.0.0b2

I assume this is related to one or more of #714, #717, #718, #729.

Metadata

Metadata

Assignees

No one assigned

    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