I cannot uninstall Ubercart. I have installed a fresh blank copy of Drupal and Ubercart 8.x-4.x-dev and I can reproduce the issue.

Installed
Drupal 8.2.5
Ubercart 8.x-4.0-dev
Installed Cart, Country, Order, Product, and Store.

Uninstall Cart
Uninstall Order
Uninstall Product
Uninstall Store
When Uninstalling Country I get
RouteNotFoundException: "Route "entity.uc_country.collection" does not exist." at /[DrupalPath]/core/lib/Drupal/Core/Routing/RouteProvider.php line 187

Comments

TrailWiki created an issue. See original summary.

TR’s picture

Title: "Route "entity.uc_country.collection" does not exist." » Route "entity.uc_country.collection" does not exist.
Issue summary: View changes
Issue tags: -uninstall
Related issues: -#2814139: Uninstall Order Module
apsylone’s picture

It's the "Country" module which cause this bug.

TR’s picture

Priority: Normal » Minor

No, it's the local task definition in the uc_store module. I just haven't had a chance to test the fix yet.

peterhollo’s picture

Is there any workaround? This has currently broken my (dev) site.

peterhollo’s picture

FWIW I fixed it with this MySQL query:
delete from menu_tree where route_name = 'entity.uc_country.collection';

Znak’s picture

Assigned: Unassigned » Znak
Znak’s picture

Status: Active » Postponed (maintainer needs more info)

So, I doesn't have a problems. Maybe you can write more info.

TR’s picture

Assigned: Znak » Unassigned
Status: Postponed (maintainer needs more info) » Active