cancel
Showing results for 
Search instead for 
Did you mean: 

Updating tab position API for course fails after adding LTI

Updating tab position API for course fails after adding LTI

Canvas white logo

This behavior is corrected in the 2021-07-21 deploy.

Known issues indicate notable behaviors that has been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.
Description

 

If you hide the second to last course navigation item, and then add an LTI to the course navigation, attempting to use the tabs API to move a course nav item to where the newly added LTI is fails. The response states, "error": "That tab location is invalid".

Expected Behavior


Should be able to set the tab positions of the course to any valid position between the home and settings tabs.

Workaround


Update navigation by clicking save, then reposition however you would like.

Steps to Reproduce

 

  • Prerequisite: A course and an LTI to add, such as the Redirect Tool

  1. Update a course's navigation so that a penultimate item is hidden

  2. Add an LTI with a course navigation placement to the course

  3. Via API, try to update the position of any tab (e.g. announcements, etc.) to the current position of the new LTI

 

Additional Info


LS-2319

Labels (3)
Tags (1)