Problem
Tests of custom-elements started failing today, since canvas 1.x introduced a change that breaks canvas-extjs HEAD:
ArgumentCountError: Too few arguments to JsonSchemaPropsComponentSourceBase::__construct(),
8 passed in canvas_extjs/.../ExternalJavaScriptComponent.php on line 87 and exactly 9 expectedIt introduced a new argument to JsonSchemaPropsComponentSourceBase, so we need to follow that.
Related canvas issue: #3591838: Cron has no unconditional segment-coverage pass; lifecycle events accumulate indefinitely — "Brand Kit color support" (GitLab: https://git.drupalcode.org/project/canvas/-/work_items/3591838).
Steps to reproduce
check out dev versions and try it
Proposed resolution
follow changes, if possible backwards compatible, if not we bump the required version next release.
Issue fork canvas_extjs-3618329
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fagoComment #4
fagoComment #8
fagoforgot about BC. While it's possible as https://git.drupalcode.org/project/canvas_extjs/-/jobs/11676205 shows, it's a bit troublesome. Let's do another minor with support with the next canvas version when it comes out instead.