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.

CommentFileSizeAuthor
#9 3184641-9.patch1.05 KBpaulocs
#5 3184641-5.patch3.67 KBpaulocs

Comments

ab2211 created an issue. See original summary.

paulocs’s picture

Hi,
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?

ab2211’s picture

I 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.

paulocs’s picture

Assigned: Unassigned » paulocs

I'll work on it

paulocs’s picture

Assigned: paulocs » Unassigned
Status: Active » Needs review
StatusFileSize
new3.67 KB

Please try this patch.

ab2211’s picture

Thanks, the patch worked.

lamp5’s picture

Version: 1.0.0-alpha1 » 1.x-dev
Status: Needs review » Reviewed & tested by the community

Nice work @paulocs.

paulocs’s picture

Status: Reviewed & tested by the community » Needs work

I just see that the patch adds a unrelated test. I forgot to remove it, so I'll attach a new patch.

paulocs’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.05 KB

Attaching 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.

  • paulocs committed db28e70 on 1.x
    Issue #3184641 by paulocs, ab2211, lamp5: Custom breadcrums causes error...
paulocs’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in dev branch!
Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.