diff --git a/core/lib/Drupal/Core/Form/FormBuilder.php b/core/lib/Drupal/Core/Form/FormBuilder.php index ad205711f4..d4de829a26 100644 --- a/core/lib/Drupal/Core/Form/FormBuilder.php +++ b/core/lib/Drupal/Core/Form/FormBuilder.php @@ -590,6 +590,7 @@ public function processForm($form_id, &$form, FormStateInterface &$form_state) { // If there are no errors and the form is not rebuilding, submit the form. if (!$form_state->isRebuilding() && !FormState::hasAnyErrors()) { \Drupal::logger('file')->notice('FormBuilder calling $this->formSubmitter->doSubmitForm'); + \Drupal::logger('file')->notice('$form_state->getValues(): ' . json_encode($form_state->getValues())); $submit_response = $this->formSubmitter->doSubmitForm($form, $form_state); // If this form was cached, delete it from the cache after submission. if ($form_state->isCached()) { diff --git a/core/modules/media_library/tests/src/FunctionalJavascript/UploadFail.php b/core/modules/media_library/tests/src/FunctionalJavascript/UploadFail.php index a1abd69207..5ae8d65af2 100644 --- a/core/modules/media_library/tests/src/FunctionalJavascript/UploadFail.php +++ b/core/modules/media_library/tests/src/FunctionalJavascript/UploadFail.php @@ -112,7 +112,7 @@ public function testManyConsecutiveUploads() { $this->assertElementExistsAfterWait('css', '[name="field_twin_media-0-media-library-remove-button"]', 10000, "Media remove button not found on iteration $count")->click(); $this->waitForText('2 media items remaining', 10000, "'2 media items remaining' not found on iteration $count"); $count++; - if ($count === 40) { + if ($count === 43) { $this->container->get('database')->truncate('watchdog')->execute(); } usleep(10000);