Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kulgg opened this issue Jan 3, 2024 · 0 comments · Fixed by #595
Closed

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

kulgg opened this issue Jan 3, 2024 · 0 comments · Fixed by #595
Assignees
Labels
kind/bug Something isn't working. The software does not behave as expected or specified.

Comments

@kulgg
Copy link
Collaborator

kulgg commented Jan 3, 2024

Bug Report

Description

During local development a NullInjectionError occurs when navigating to /logout due 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

  • Environment: local ng server
  • OS: MacOS
@kulgg kulgg added the kind/bug Something isn't working. The software does not behave as expected or specified. label Jan 3, 2024
@kulgg kulgg self-assigned this Jan 3, 2024
@kulgg kulgg linked a pull request Jan 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working. The software does not behave as expected or specified.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant