Our Weekly pipeline is failing again, with several different problems reported.
#3616723: Fix phpstan findings in recent pipelines should already cover some of this (namely, the PHPStan errors).
Part of the problems in “next minor” are caused by #3427095: [Meta] Deprecate text_with_summary, since a lot of our tests use that field type for their body field. Just changing that to text_long mostly works, but RenderedItemTest also relies on a summary being present, so more work is needed here. (There is a contrib module filling the gap, but for obvious reasons it is not compatible with Drupal versions 11.4 and lower, so just requiring that also doesn’t work.)
Issue fork search_api-3624636
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 #2
berdirthe text_with_summary field is still in core for next minor, but you might need to enable the extra module although you should just get deprecation errors, I think? it's in next major where it is removed.
It should also be possible to add it to composer require dev, core should now include the replace statement for previous versions. I *think*?
most fails on current minor are because of what I think was a mistake, we ship the body field in the testing profile but with a different type. so you get conflict conflicts if you expect it to be text_with_summary. The only sensible workaround is to rename your field to something else but body in your test config/modules and ship with a field storage as well.
Comment #3
berdirAnd the filter repository errors should be resolvable by explicitly requiring the filter module to be enabled in the affected kernel tests
Comment #5
drunken monkeyThanks for your helpful comments, that at least saved me some time hunting for explanations. Still, pretty horrible DX by Core with these changes …
I fear not, tried it but didn’t work. I’m now requiring it conditionally as an
after_script, that seems to work.Comment #6
drunken monkeyOK, everything else was bad enough, but I really struggle to see any benign explanation for the “next minor” (= Drupal 11.5) version identifying as
11.4-dev. Jesus Christ …Comment #8
drunken monkeyFinally!
Note: This also declares compatibility with Drupal 12, even though it cannot be tested at this point since none of the dev requirements are ready. I created #3630149: Enable testing for Drupal 12 as a follow-up.