When having disabled Views UI I got when visiting /admin/config/content/charts

Workaround is to enable Views UI

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "views_ui.add" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 208 of core/lib/Drupal/Core/Routing/RouteProvider.php).

Drupal\Core\Routing\UrlGenerator->getRoute('views_ui.add') (Line: 271)

This is caused by web/modules/contrib/charts/src/Form/ChartsConfigForm.php:70

'#markup' => $this->t('The settings on this page are used to set
        <strong>default</strong> settings. They do not affect existing charts.
        To make a new chart, <a href="@create">create a new view</a> and select
        the display format of "Chart".', [
        '@create' => Url::fromRoute('views_ui.add')
          ->toString(),
      ]),

Comments

clemens.tolboom created an issue. See original summary.

clemens.tolboom’s picture

Issue summary: View changes

Added workaround

clemens.tolboom’s picture

Status: Active » Closed (duplicate)
Parent issue: » #3113791: Removed implicit dependency on views_ui module