Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new410 bytes

Starting with a placeholder change.

damienmckenna’s picture

Priority: Normal » Major

Will work on this tomorrow, unless someone else wants to take a look.

damienmckenna’s picture

This patch contains two types of changes - the getEntityCounts() methods were updated for changes in core, and the getMissingPaths() methods had 'Token' removed; I'm not sure why that last change is necessary.

Status: Needs review » Needs work

The last submitted patch, 4: commerce_migrate-n3253893-4.patch, failed testing. View results

damienmckenna’s picture

Need to run one of the MigrateUpgradeReviewPageTest tests locally so I can see what the difference is.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new5.63 KB
new2.06 KB

I hope this resolves the MigrateUpgradeReviewPageTest tests.

damienmckenna’s picture

There are also some deprecation notices:

  1x: drupal_get_path() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionPathResolver::getPath() instead. See https://www.drupal.org/node/2940438
    1x in MigrateUpgradeReviewPageTest::testMigrateUpgradeReviewPage from Drupal\Tests\commerce_migrate_ubercart\Functional\uc7

  1x: drupal_get_filename() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Extension\ExtensionPathResolver::getPathname() instead. See https://www.drupal.org/node/2940438
    1x in MigrateUpgradeReviewPageTest::testMigrateUpgradeReviewPage from Drupal\Tests\commerce_migrate_ubercart\Functional\uc7

(and similar ones in other tests)

damienmckenna’s picture

Related issues: +#3189605: Declare upgrade status from D6, D7
StatusFileSize
new835 bytes
new5.18 KB

Locally I noticed that #3189605: Declare upgrade status from D6, D7 caused test failures, but I need to undo that for now.

damienmckenna’s picture

Down to ten test failures.

junaidpv’s picture

Looking forward to get solved!

damienmckenna’s picture

Status: Needs review » Needs work
quietone’s picture

Status: Needs work » Needs review
StatusFileSize
new1.11 KB
new27.34 KB

Remove use of deprecated markAsDefault, deprecated in commerce:8.x-2.16 and is removed from commerce:3.x.

Status: Needs review » Needs work

The last submitted patch, 13: 3253893-13.patch, failed testing. View results

quietone’s picture

Status: Needs work » Needs review
StatusFileSize
new3.04 KB
new9.19 KB

Ignore that patch.

This one does:

  • Remove use of deprecated markAsDefault, deprecated in commerce:8.x-2.16 and is removed from commerce:3.x.
  • Fix \Drupal\Tests\commerce_migrate_commerce\Unit\Plugin\migrate\process\commerce1\CommerceAttributeHandlerSettingTest::providerTestException what was just wrong.
quietone’s picture

StatusFileSize
new4.18 KB

Found out in testing that markAsDefault() was not the cause of the problem in the tests. The tests needed to install the schema for path_alias.

quietone’s picture

Version: 3.1.x-dev » 3.2.x-dev
quietone’s picture

StatusFileSize
new679 bytes
new5.02 KB

forgot to fix the commerce1 test.

quietone’s picture

Issue summary: View changes

  • quietone committed 43c1c62 on 3.2.x
    Issue #3253893 by DamienMcKenna, quietone: Update codebase to be fully...
quietone’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.