The Sitecore API was experiencing critical issues impacting pagination and sorting functionalities. Whenever users attempted to navigate to subsequent pages or apply sorting, the API returned internal server errors (500), rendering the features unusable.
Issue Summary
Internal Server Errors (500):
When pagination or sorting requests were sent, the API intermittently responded with:Sorting Failures:
Sorting configurations such astitle_asc_asc
ortitle_desc_desc
failed to produce expected results. Responses either returned incorrect data or triggered the same server error.Inconsistent Pagination Behavior:
For example, attempting to navigate to page 2 through/search?page=2
consistently produced the following:
Root Cause (Identified by Sitecore Team)
The Sitecore support team determined that the issue was caused by:
- A combination of boost rules and pagination settings that conflicted under certain API configurations.
- Faulty API handling logic when fetching large datasets while applying custom sorting and pagination rules.
Resolution
- System Update:
Sitecore implemented a patch to rectify how boost rules interact with pagination requests. - Configuration Adjustments:
The team updated internal settings to ensure sorting worked seamlessly with pagination. - Verification:
After the fix was deployed, multiple test cases were executed to confirm that:- Pagination worked correctly.
- Sorting options applied accurately without triggering server errors.
No comments:
Post a Comment