sovity / edc-ui

Connector UI for the sovity EDC Community Edition.
https://sovity.de/en/connect-to-data-space-en/
Apache License 2.0
32 stars 12 forks source link

NullInjectionError: PreviousRouteListener not provided when navigating to /logout #591

Closed kulgg closed 7 months ago

kulgg commented 7 months ago

Bug Report

Description

During local development a NullInjectionError occurs when navigating to /logoutdue to PreviousRouteListener not being provided.

Expected Behavior

The /logout page should load and consequently redirect to the logout URL.

Observed Behavior

A page with no content in the component outlet is loaded.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Adjust the env variableEDC_UI_ACTIVE_PROFILE=sovity-hosted-by-sovity
  2. Start the dev server npm run start
  3. Click on the Logout button
  4. See empty page & error in console

Context Information