-
Bug
-
Resolution: Fixed
-
Low
-
Minor
Issue Summary
The GET /addons API incorrectly calculating the object count when querying a list of add-ons. This miscalculation leads to the omission of the "next" attribute from the _links section prematurely in the paginated results. As a result, when navigating through pages using the "next" attribute, the last page of results is never reached unless manually forced.
Steps to Reproduce
- Make a request to the API with the following parameters:
- Observe the response where the _links object does not contain the "next" attribute, indicating it is the final page.
- Manually navigate to the next page by incrementing the offset:
- Observe that additional results are returned, confirming that the previous omission was incorrect.
Expected Results
The "next" attribute should be present in the _links section until the actual final page of results is reached, allowing full pagination through all available add-ons.
Actual Results
The "next" attribute is missing prematurely, preventing access to the complete list of add-ons through pagination.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- blocks
-
ECOHELP-53491 Failed to load
- mentioned in
-
Page Failed to load
Form Name |
---|
Total number of plugins count was approximate earlier and hence there was a edge cases where there were some plugins left after fetching all the pages.
Changed the count to exact now from approximate now.