We're updating the issue view to help you get more done. 

Problems when logging out from an object type list

Description

When a user has logged in and logs out sometimes the navbar and sidebar are shown.

After logging in from that view the application redirects the user to the /auth route again, which is then shown correctly.

After logging in again however the categories and the categorized types are no longer shown in the sidebar

 

This Problem only occurs when the user logs out after the user previously viewed an object type list.

However this problem doesn’t occur when the user enters the /auth route.

Environment

None

Activity

Show:
Dorus Blanken
October 15, 2020, 6:46 AM

After some further testing it seems that the following function in object-list-by-type.component.ts is causing this issue:

this.router.routeReuseStrategy.shouldReuseRoute = (future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot) => { return false;};

However removing this will cause another error.

Assignee

Mark Heumüller

Reporter

Dorus Blanken

Labels

None

Tester

None

Sprint

Fix versions

Priority

Medium
Configure