Engineers are currently investigating the issue.
Description:
When users are enrolled in courses on a different shard, planner items from the cross-shard courses are not returned by the planner items API endpoint /api/v1/planner/items
Both the To Do list on the Card view dashboard and List view dashboard use this endpoint to retrieve items
The mobile apps use this endpoint to retrieve items for the calendar
Expected behavior:
Cross-shard records should be returned when using the planner items API
Workaround:
No workaround exists at this time.
Steps to Reproduce:
- Create a user on one instance in a trust and then enroll them in a published course on another instance in the same trust
- In the course the student was enrolled in create and publish an assignment with a due date
- As the student make a planner items API request with the start_date before the assignment due date and the end_date after the assignment due date from user’s home instance (so request is made to instance on a different shard than where the assignment lives) and note that no records are returned
- Make the same request as in step 3, but this time using the instance where the assignment lives and note that the assignment is returned.