- Issue created by @kksandr
- Merge request !12830Draft: Issue #3537774 by kksandr: add test case → (Closed) created by Unnamed author
I’ve added two branches:
3537774-validation-test
- contains only a test to demonstrate the issue.3537774-validation-fix
- includes both the test and the fix.
- 🇺🇸United States smustgrave
Not 100% which MR to review but MRs need to point to 11.x as the main development branch
Alright, I’ve closed the MR that only included the test to avoid any confusion. I’ve also changed the target branch to 11.x.
- 🇺🇸United States smustgrave
Trying to figure out why the validation changed.
- 🇺🇸United States smustgrave
Re-based this a few days ago and forgot
But rebased so I could run the test-only run
There was 1 error: 1) Drupal\Tests\text\Functional\TextareaWithSummaryTest::testTextAreaWithSummaryValidation Exception: Warning: Undefined array key 1 Drupal\text\Plugin\Field\FieldWidget\TextareaWithSummaryWidget->errorElement()() (Line: 104) /builds/issue/drupal-3537774/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:55 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:209 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:158 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/TaskQueue.php:52 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:251 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:227 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:272 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:229 /builds/issue/drupal-3537774/vendor/guzzlehttp/promises/src/Promise.php:69 /builds/issue/drupal-3537774/vendor/guzzlehttp/guzzle/src/Client.php:189 /builds/issue/drupal-3537774/core/tests/Drupal/Tests/DrupalTestBrowser.php:139 /builds/issue/drupal-3537774/vendor/symfony/browser-kit/AbstractBrowser.php:378 /builds/issue/drupal-3537774/vendor/symfony/browser-kit/AbstractBrowser.php:298 /builds/issue/drupal-3537774/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:718 /builds/issue/drupal-3537774/vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php:494 /builds/issue/drupal-3537774/vendor/behat/mink/src/Element/NodeElement.php:176 /builds/issue/drupal-3537774/vendor/behat/mink/src/Element/NodeElement.php:186 /builds/issue/drupal-3537774/core/tests/Drupal/Tests/UiHelperTrait.php:112 /builds/issue/drupal-3537774/core/modules/text/tests/src/Functional/TextareaWithSummaryTest.php:89 ERRORS! Tests: 1, Assertions: 7, Errors: 1. Exiting with EXIT_CODE=2
Fix seems fine and feedback addressed just an FYI that this plugin is being targeted to be deprecated 🌱 [Meta] Deprecate text_with_summary Active