-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0-HF43, 7.10-HF31, 8.10-HF14, 9.2
-
Component/s: Query & PageProvider
-
Release Notes Summary:The results of a page provider are correctly paginated, ending if the page index is greater than the total number of pages
-
Sprint:nxGang Sprint 9.3.6
Currently, when fetching a page with an index beyond the last page, the last page will always be returned. This behavior was added to fix NXP-8564, but it causes problems in automation, since obtaining a page with size 0 would be the most viable stop condition to stop iterating on result pages. See NXP-22969 (problem #2) for more details on this issue.
- is related to
-
NXP-22969 Fix operation 'Repository.Query' when retrieving paginated result
- Resolved
-
NXP-8564 Rewind the page provider to last non-empty page when refreshing it
- Resolved
-
NXP-22879 Document.PageProvider operation loops indefinitely when the number of found documents is lower than the page size
- Resolved