While testing the patch we came across many D10 depreciations error, which needs to be fixed.
- 🇮🇳India piyushsms91
Please review the Drupal 10 compatibility fix patch, we have taken care of the test case also.
- Status changed to Needs review
almost 2 years ago 1:55pm 17 February 2023 - Status changed to RTBC
almost 2 years ago 11:01am 8 March 2023 - Status changed to Needs review
over 1 year ago 9:44am 17 May 2023 - 🇬🇧United Kingdom vijaycs85 London, UK
Thanks for working on this. Here is some review comments.
-
+++ b/composer.json @@ -35,6 +35,11 @@ + { + "name": "Piyush Kumar (piyushsms91)", + "homepage": "https://www.drupal.org/u/piyushsms91", + "role": "Co-maintainer"
We can't add the person here unless they are co-maintainer on drupal.org.
-
+++ b/tests/src/Functional/WebformEncryptEditSumissionsTest.php @@ -62,7 +67,7 @@ class WebformEncryptEditSumissionsTest extends BrowserTestBase { - $this->drupalPostForm('/webform/test_encryption', $edit, 'Submit'); + $this->submitForm($edit, 'Save'); +++ b/tests/src/Functional/WebformEncryptFunctionalTest.php @@ -102,7 +107,7 @@ class WebformEncryptFunctionalTest extends BrowserTestBase { - $this->drupalPostForm('/webform/test_encryption', $edit, 'Submit'); + $this->submitForm($edit, 'Save'); +++ b/tests/src/Functional/WebformEncryptUninstallTest.php @@ -53,18 +58,18 @@ class WebformEncryptUninstallTest extends BrowserTestBase { - $this->drupalPostForm('/webform/test_encryption', $edit, 'Submit'); + $this->submitForm($edit, 'Save'); @@ -124,7 +129,7 @@ class WebformEncryptUninstallTest extends BrowserTestBase { - $this->drupalPostForm('/webform/test_encryption', $edit, 'Submit'); + $this->submitForm($edit, 'Save');
wrong submit button value on update.
Most of the changes here are cleanup than necessary for upgrade. But they are good cleanup to go with, so leaving them in.
-
- last update
over 1 year ago 4 pass, 6 fail - 🇬🇷Greece suzymasri
Removing Webform 5.x in favour of 6.2.x, since the latter is the only Webform version that supports Drupal 10.
Perhaps the solution moving forward is to create a 2.x (Webform 6.2.x) branch that supports D10, while keeping D9 support on 1.x (Webform 5.x)
- last update
over 1 year ago 4 pass, 6 fail - 🇬🇧United Kingdom vijaycs85 London, UK
thanks @suzymasri.
Perhaps the solution moving forward is to create a 2.x (Webform 6.2.x) branch that supports D10, while keeping D9 support on 1.x (Webform 5.x)
yeah, though we are on beta on 1.x, it doesn't make sense to introduce breaking changes. I have created 2.0.x from current HEAD.
- last update
over 1 year ago Composer require failure - last update
over 1 year ago 4 pass, 6 fail - last update
over 1 year ago 7 pass - 🇬🇧United Kingdom vijaycs85 London, UK
Hope this would fix the test failures.
-
vijaycs85 →
committed d2d67b6f on 2.0.x
Issue #3299487 by hmdnawaz, vijaycs85, Project Update Bot, suzymasri,...
-
vijaycs85 →
committed d2d67b6f on 2.0.x
- Status changed to Fixed
over 1 year ago 9:31pm 22 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.