[Bug] Wrong content view if logged out and navigating back #1984

Closed
opened 2022-09-24 22:08:26 +00:00 by LucaBernstein · 1 comment
Contributor

Version information:

Frontend Version: 0.19.1
API Version: 0.19.2
Browser and OS Version: Firefox, MacOS

Steps to reproduce:

  1. Open any instance of Vikunja, logged-out. E.g. https://try.vikunja.io/
  2. You will be redirected to /login
  3. Navigate back with browser controls
  4. The login screen will be replaced by a tasks list
    ...

Expected behavior:

You should stay on the login page / the redirect to /loginshould not be recorded in the SPA history.

Actual behavior:

Login screen is replaced by tasks screen. See screenshot:

image

Checklist:

  • I have provided all required information
  • I am using the latest release or the latest unstable build
  • I was able to reproduce the bug on try
<!-- Please fill out this issue template to report a bug. If you want to propose a new feature, please open a discussion thread in the forum: https://community.vikunja.io --> **Version information:** Frontend Version: 0.19.1 API Version: 0.19.2 Browser and OS Version: Firefox, MacOS **Steps to reproduce:** <!-- Add clear steps to reproduce the bug. Provide screenshots where applicable. --> 1. Open any instance of Vikunja, logged-out. E.g. https://try.vikunja.io/ 2. You will be redirected to `/login` 3. Navigate back with browser controls 4. The login screen will be replaced by a tasks list ... **Expected behavior:** <!-- Describe what happened. --> You should stay on the login page / the redirect to `/login`should not be recorded in the SPA history. **Actual behavior:** <!-- Describe what happened instead. --> Login screen is replaced by tasks screen. See screenshot: ![image](/attachments/f1da4cbc-c479-4ec2-9d97-370668c8b316) **Checklist:** * [x] I have provided all required information * [x] I am using the latest release or the latest unstable build * [x] I was able to reproduce the bug on [try](https://try.vikunja.io)
2.3 MiB
konrad added the
kind/bug
label 2022-09-26 12:29:28 +00:00
Owner

Fixed in 3af20b6220 - please check with the next unstable build or on try if the problem really went away.

Fixed in https://kolaente.dev/vikunja/frontend/commit/3af20b6220d8fcded9c8c2f0bdef21dc26d748f6 - please check with the next unstable build or on [try](https://try.vikunja.io) if the problem really went away.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1984
No description provided.