Hello,

1) Steps to reproduce the bug
- Install any module (in my case it is paragraph)
- create some content related to the installed module
- Try to uninstall the module it will ask you to remove the entities before uninstalling the module,

2) Expected behaviour: It should remove the entities.

3) Unexpected error:
After clicking on the link to remove entities it throws following error:
InvalidArgumentException: The controller for URI "" is not callable. in Drupal\Core\Controller\ControllerResolver
>getControllerFromDefinition() (line 77 of core/lib/Drupal/Core/Controller/ControllerResolver.php).

# Other information:
- I recently updated drupal core from 8.2.x to 8.3.2
- OS: Ubuntu 16.04
- PHP version: 7.0
- Server: nginx/1.10.0 (Ubuntu)
- URl: http://{{base_url}}/admin/modules/uninstall/entity/paragraph

CommentFileSizeAuthor
remove-entities-error.txt3.26 KBarifkhn46

Comments

ak.incaendo created an issue. See original summary.

arifkhn46’s picture

Issue summary: View changes
cilefen’s picture

Version: 8.2.x-dev » 8.3.x-dev
cilefen’s picture

Title: Removing Entities to uninstall a module, results into an error » Removing entities to uninstall a module results in InvalidArgumentException: The controller for URI "" is not callable
arifkhn46’s picture

I think following issue is related to this ticket:

https://www.drupal.org/node/2862702

arifkhn46’s picture

Status: Active » Fixed

I found the patch from the ticket PrepareModulesEntityUninstallForm::formTitle does not exist , see comment #3

It resolve the issue perfectly.

cilefen’s picture

Status: Fixed » Closed (duplicate)
Related issues: +#2862702: PrepareModulesEntityUninstallForm::formTitle does not exist