Skip to content

Fix the ORM adapter with a 0 length for ORM 3.7+ - #65

Merged
mbabker merged 1 commit into
BabDev:4.xfrom
stof:fix_orm_adapter
Oct 1, 2026
Merged

mbabker merged 1 commit into
BabDev:4.xfrom
stof:fix_orm_adapter

Conversation

@stof

@stof stof commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

The Window class of the new OffsetPaginator expects 0 as minimum length, while AdapterInterface supports 0

The `Window` class of the new OffsetPaginator expects `0` as minimum
length, while AdapterInterface supports `0`
@stof

stof commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

A case where a 0 length was passed to an adapter is when using ConcatenationAdapter. This is the case that caught this bug in my CI.

@mbabker
mbabker merged commit a5c2786 into BabDev:4.x Oct 1, 2026
75 checks passed
@mbabker mbabker added the bug Something isn't working label Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants