Drupal 10 Compatibility Fixes

Created on 20 March 2023, over 1 year ago
Updated 25 March 2023, over 1 year ago

Making migrate_tools module D10 compatible.

Please review.

📌 Task
Status

Closed: won't fix

Version

6.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Needs work over 1 year ago
  • 🇳🇴Norway gisle Norway

    Thanks for the MR. It looks like it needs work as it test reports it is not mergeable.

  • Status changed to Active over 1 year ago
  • I have added the changes on the MR. Please review.

  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India rckstr_rohan

    Created a patch for Drupal 10 Compatibility Fixes, please review.

  • Status changed to Postponed: needs info over 1 year ago
  • heddn Nicaragua

    Why is this patch needed? https://www.drupal.org/pift-ci-job/2618883 Shows things already pass on D10.

  • Status changed to Needs review over 1 year ago
  • Explicit access check is Mandatory for Drupal 10 and its missing in the module's MigrateExecutionFormTest testcase file. So we have added the access check.
    Please review it.

  • Status changed to Closed: won't fix over 1 year ago
  • heddn Nicaragua

    Look at setup(), it already sets the query up with access checking. This isn't needed.

  • Status changed to Needs review over 1 year ago
  • Even though the accessCheck is present in setup(), upgrade_status module is still providing deprecated warning. Please check the warning below:

    Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

  • PFA the Screenshot for the same:

  • Status changed to Closed: won't fix over 1 year ago
  • heddn Nicaragua

    No matter, the tool is giving a false result. We have green tests on d10. This won't be changed.

  • 🇩🇰Denmark ressa Copenhagen

    I just tried running the migrate_example module in Drupal 10, and the current official release worked well.

Production build 0.71.5 2024