Problem/Motivation
After updating Migrate Tools to the latest 6.x version, this module throws a fatal error:
Error: Class "Drupal\migrate_tools\Commands\MigrateToolsCommands" not found in include() (line 25 of /app/web/modules/contrib/migrate_orphans/src/Commands/MigrateOrphansCommands.php).
Since this is a B/C break, we should probably start a new minor (1.1.0) or even major (2.0.0) version.
| Comment | File | Size | Author |
|---|
Issue fork migrate_orphans-3378229
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
pfrenssenThis is ready for review. I cannot currently create a merge request because the project is missing a dev release, but the code is in https://git.drupalcode.org/issue/migrate_orphans-3378229/-/compare/1.0.x...
Comment #3
ayalon commentedI have created a DEV release but I cannot find a way to merge your changes. Can you create a merge request? Then I will merge the change into dev and tag a new release.
Comment #4
ayalon commentedComment #5
kensae commentedI've created a patch from the issue fork. I had to remove the changes from the .info.yml file, because they caused the patch to fail because of the following issue: https://www.drupal.org/project/drupalorg/issues/3066468
Comment #7
pfrenssenThanks! I have also made the merge request.
Comment #8
pfrenssen@kensae FYI the patch posted in #5 is not complete without the change to the .info.yml file. This is needed to avoid a backwards compatibility break with Migrate Tools 5. The complete patch is in the MR: https://git.drupalcode.org/project/migrate_orphans/-/merge_requests/3.diff
If you have trouble with applying the patch on packaged releases then you can use the issue fork directly in
composer.json:Comment #9
pfrenssenComment #10
sandervancamp@kensae, seg merci he
Comment #11
tvalimaa commentedThat patch worked, thx
Comment #12
cbessire commented#9 worked perfectly for me.
Comment #14
ayalon commentedAs proposed, I have created a new major version supporting Migrate 6. Thanks for all the contribution and testing.
Comment #15
ayalon commentedComment #16
ayalon commented