I got the error "InvalidArgumentException: The controller for URI "" is not callable. in Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition() (Zeile 75 in /var/www/vhosts/global-office.de/drupal8/core/lib/Drupal/Core/Controller/ControllerResolver.php)." while deleting submission entries from the webform module at the module unstalling page.
After uninstalling the custom breadcrumbs the error is gone.
Original issue https://www.drupal.org/project/webform/issues/3184354.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3184641-9.patch | 1.05 KB | paulocs |
| #5 | 3184641-5.patch | 3.67 KB | paulocs |
Comments
Comment #2
paulocsHi,
what do you mean with "deleting submission entries from the webform module at the module unstalling page"?
Sorry but I could not reproduce it. Can you provide the steps to reproduce?
Comment #3
ab2211 commentedI wanted to uninstall te webform module. Next to the webform entry on the /admin/modules/uninstall page was a message that there were submissions with a link to delete them. Clicking on that link produces the error "The website encountered an unexpected error. Please try again later."
The logs are telling ""InvalidArgumentException: The controller for URI "" is not callable. in Drupal\Core\Controller\ControllerResolver->getControllerFromDefinition() (Zeile 75 in /var/www/vhosts/global-office.de/drupal8/core/lib/Drupal/Core/Controller/ControllerResolver.php).".
After unistalling the custom breadcrumbs module the error was gone.
Comment #4
paulocsI'll work on it
Comment #5
paulocsPlease try this patch.
Comment #6
ab2211 commentedThanks, the patch worked.
Comment #7
lamp5Nice work @paulocs.
Comment #8
paulocsI just see that the patch adds a unrelated test. I forgot to remove it, so I'll attach a new patch.
Comment #9
paulocsAttaching new patch.
Moving back to RTBC as this is the same approach from patch #5.
I just removed some code out of the scope of that issue.
Comment #11
paulocsFixed in dev branch!
Thanks!