- Issue created by @project update bot
- last update
over 1 year ago run-tests.sh fatal error This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- last update
about 1 year ago Composer require-dev failure - last update
about 1 year ago Composer require failure - last update
about 1 year ago Composer error. Unable to continue. - First commit to issue fork.
- last update
about 1 year ago Composer require-dev failure - last update
about 1 year ago Composer require-dev failure - 🇫🇷France Soubi
There was an error in the tests/src/Kernel/Plugin/migrate/BeanDeriverTestBase.php file.
- 🇬🇧United Kingdom rossb89 Bristol
I've given this a test out locally and seems to do the trick and the module is working on D10.
I haven't tested the tests as it were, but this gets the module installing.
- Assigned to wim leers
- Status changed to Needs work
10 months ago 11:45am 5 March 2024 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Ehm … clearly nobody has ever run the tests on Drupal 10, because they fail immediately, and hard. And after you fix those failures, you run into the same problems that 🐛 Tests fail since Drupal 9.5 Needs review is fixing. So postponing on that.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
#3354022 landed — see #3354022-6: Tests fail since Drupal 9.5 → .
Rebasing #6 on top of that and merging in 📌 Automated Drupal 10 compatibility fixes Needs work , and crediting @himanshu_jhaloya for that work!
P.S.: this will need a new branch, because this must drop support for Drupal 8 — and actually also <9.5.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Closed 📌 Drupal 10 compatibility Needs work as a duplicate too.
- Status changed to Needs review
10 months ago 12:59pm 5 March 2024 - last update
10 months ago Composer require-dev failure - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This is #6 + 📌 Automated Drupal 10 compatibility fixes Needs work .
Still lots of work, because tests are nowhere near passing.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Core's migrations (and test suite) also had to be updated in #3281427: Update Block and Theme setting migrations to not use Bartik and Seven → to stop relying on Bartik. That's one of the most crucial things that's still missing.
- last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Fix
composer.json
, to allow this to run on D9 too. - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Unit tests are now passing locally. Also, start using GitLab CI. But that requires a merge request. So … did that.
- last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Apparently 📌 [PHPUnit 10] @dataProvider methods must be declared static and public Fixed only landed in Drupal 11, so I'll need to revert some changes.
That also means that it's impossible to be compatible with both Drupal 10.2 and 11 … that'll be interesting. Hopefully 10.3 will contain some kind of solution to allow supporting both simultaneously.
- last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
✨ Introduce database driver extensions and autoload database drivers' dependencies Fixed caused the
Behat\Mink\Exception\ElementNotFoundException: Form field with id|name|label|value "mysql[host]" not found.
failures on Drupal >=10.
- last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
The
locale
-related failure could be related to 📌 Fix and re-enable MigrateBlockContentTranslationTest Active , for which\Drupal\Tests\block\Kernel\Migrate\d7\MigrateBlockContentTranslationTest::testBlockContentTranslation()
is being skipped… - last update
10 months ago run-tests.sh fatal error - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
There was 1 error: 1) Drupal\Tests\bean_migrate\Kernel\BeanMigrateMultilingualTest::testMigrations Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "locale.config_manager".
occurs only on Drupal 10, due to #2953111: Only migrate role permissions that exist on the destination → , which was intentionally not backported, see #2953111-237: Only migrate role permissions that exist on the destination → and surrounding comments. This is causing a nightmare for us now it seems.
- First commit to issue fork.