Issue #3576847: Cannot create a new Conductor draft when creating a new Canvas page

Closes #3576847

Testing instructions

  • Make sure you have the latest version of Canvas
  • Build this with npm ci && npm run build
  • Clear cache drush cr
  • Create a new draft in a new Canvas page, get all the way to the Content Outline tab
  • Close Writing Assistant
  • Reopen Writing Assistant and verify everything reloaded as expected
  • Close Writing Assistant
  • Create a new Canvas page (the page should not refresh)
  • Open Writing Assistant
  • Verify that you have a new draft
  • Enter some keywords (different from the first draft so it's obvious) and make your way to the Content Outline tab
  • Whilst leaving writing assistant open, change Canvas page back to the first page
  • Verify that Writing Assistant reloads with the correct draft for the page you are now on
  • Refresh the page, verify that when opening Writing Assistant you get data for the correct draft
Edited by Ignacio Sánchez Holgueras

Merge request reports

Loading