Getting error when clicking on the abort button on clone page.
On the browser page it gives the following error:
The website encountered an unexpected error. Please try again later.
Instead it should redirect to that respective content.?
And
Processing logs are as follows:
Recoverable fatal error: Argument 1 passed to Drupal\Core\Form\FormState::setSubmitHandlers() must be of the type array, string given, called in /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php on line 1093 and defined in Drupal\Core\Form\FormState->setSubmitHandlers() (line 739 of /var/www/html/drupal8/core/lib/Drupal/Core/Form/FormState.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | entity_clone-abort_clone_causes_fatal_error-2769823-4.patch | 422 bytes | alan-ps |
| SS_User1.png | 30.99 KB | AsadKamil | |
| SS.png | 28.99 KB | AsadKamil |
Comments
Comment #2
AsadKamil commentedComment #3
AsadKamil commentedComment #4
alan-ps commentedCurrent patch fixes this issue.
Comment #9
alan-ps commentedI tested and current patch works well. There is a problem with the test cases. This is appropriate issue: https://www.drupal.org/node/2770151
I think we should retest current patch after 2770151 will be solved.
Comment #10
AsadKamil commentedThanks for the Patch @alan-ps, patch working fine, now moving the issue to RTBC
Comment #12
vpeltot commentedIs #2908414: Error on abort and redirects - one patch to solve everything solve this issue
Comment #13
donaldp commentedIssue #2908414 fixed this issue for me.
Comment #14
colanLet's work over there then.
Comment #15
websiteworkspace commentedStill seeing this problem with the latest release: