fix: #3629902 Install the AI Context views skipped on install with Trash 3.1 and Canvas

Issue: https://www.drupal.org/i/3629902

  • With Trash 3.1.0 and Canvas, core skips views.view.ai_context_usage while AI Context installs, so /admin/config/ai/context/items fails with Route "view.ai_context_usage.page_usage" does not exist.
  • varbase_ai_figma_install() now clears the Views data and creates the AI Context views that are still missing. It can go once a Trash release includes #3624638.
  • Tested on a fresh Varbase 11 site (core 11.4.9, Trash 3.1.0, Canvas 1.12.0, AI Context 1.0.0-rc1): the page returns 200 with no watchdog errors, and the functional suite passes 32/32. No change when Trash already has the fix.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading