goauthentik / goauthentik/authentik

Subsequent clicking on the edit button opens modal for the previously viewed entry requiring page refresh to allow loading the correct one.

Open
#6,115 0 comments 0 reactions 1 assignee Claimed by @kensternberg-authentik View on GitHub
bug bug/confirmed
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 1h
Merged PRs (30d)
644

Description

**Describe the bug**
Clicking on the edit button (for a stage for instance) opens the modal that allows for editing but after saving the changes, trying to edit a different entry opens the details for the previously viewed one and after cancelling the edit, the view refuses to load the correct one until page refresh.

**To Reproduce**
Steps to reproduce the behavior:

1. Start at a fresh page load for the stage list
2. Click on the edit button (stage A) and save an edit (in my case these where name changes)
3. Click on the edit button next to a different entry (stage B)
4. Modal displays but shows details for (stage A) instead of (stage B)
5. Click to cancel editing
6. Click on the edit button for (stage B) again
7. Modal displays but containing just the loading widget spinning forever

**Expected behavior**
Self explanatory

**Screenshots**
Not applicable

**Logs**
Nothing sprung to attention in the docker logs - please provide suggestion what I should grep for if needed.

**Version and Deployment (please complete the following information):**
- authentik version: 2023.5.4
- Deployment: docker-compose

**Additional context**
Client: Debian 12 / Wayland / KDE / 2560 x 1600 / Firefox-ESR / 133% scale
Host: Authentik>localhost:80>cloudflare tunnel>cloudflare proxy terminating TLS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.