[GH-ISSUE #392] [BUG] Web UI: clicking details when viewing a user doesn't redirect to current user's details #148

Open
opened 2026-02-27 08:15:32 +03:00 by kerem · 5 comments
Owner

Originally created by @lordratner on GitHub (Dec 9, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/392

Hi,

I'm not 100% sure on the cause of this issue, but I think it's from the pages being cached in the browser.

There have been several instances where I've had to refresh, or in some cases force-refresh (ctrl-F5) go get the webui to work. SOme examples:

The login page was blank after switching from stable --> latest. Refreshing a hundred times did nothing. I completely destroyed the container and rebuilt. No luck. Only when I hit ctrl-f5 did it work.

Multiple times the user dropdown in the upper right will do nothing until I refresh the page. Then it works. I can recreate this one every time. Logout, log back in, and boom, the menu won't work until I refresh. Doesn't matter how many other pages I go to. Chrome browser

Request a password reset. When it says a reset token has been sent, hit the "Back" button to go back to the login page. Try to log in. The error "Could not log in" will show no matter how many times you hit the button, or retype the password. Refresh the page and it works.

Originally created by @lordratner on GitHub (Dec 9, 2022). Original GitHub issue: https://github.com/lldap/lldap/issues/392 Hi, I'm not 100% sure on the cause of this issue, but I *think* it's from the pages being cached in the browser. There have been several instances where I've had to refresh, or in some cases force-refresh (ctrl-F5) go get the webui to work. SOme examples: The login page was blank after switching from stable --> latest. Refreshing a hundred times did nothing. I completely destroyed the container and rebuilt. No luck. Only when I hit ctrl-f5 did it work. Multiple times the user dropdown in the upper right will do nothing until I refresh the page. Then it works. I can recreate this one every time. Logout, log back in, and boom, the menu won't work until I refresh. Doesn't matter how many other pages I go to. Chrome browser Request a password reset. When it says a reset token has been sent, hit the "Back" button to go back to the login page. Try to log in. The error "Could not log in" will show no matter how many times you hit the button, or retype the password. Refresh the page and it works.
Author
Owner

@nitnelave commented on GitHub (Dec 9, 2022):

Yeah, caching can be an issue when changing versions of the frontend. To be honest, I'm not sure how that's normally handled.

However, I'm surprised about the dropdown, I'll have to investigate.

<!-- gh-comment-id:1344496906 --> @nitnelave commented on GitHub (Dec 9, 2022): Yeah, caching can be an issue when changing versions of the frontend. To be honest, I'm not sure how that's normally handled. However, I'm surprised about the dropdown, I'll have to investigate.
Author
Owner

@lordratner commented on GitHub (Dec 9, 2022):

Another issue with the dropdown. If I go a not-me user's details. Use the upperright menu for my user and click View Details. The URL in the address bar will change, but the actual page will not. Still on the not-me user's details. Still able to change details for that user. Hit refresh, and boom, I'm in my details.

<!-- gh-comment-id:1344538763 --> @lordratner commented on GitHub (Dec 9, 2022): Another issue with the dropdown. If I go a not-me user's details. Use the upperright menu for my user and click View Details. The URL in the address bar will change, but the actual page will not. Still on the not-me user's details. Still able to change details for that user. Hit refresh, and boom, I'm in my details.
Author
Owner

@nitnelave commented on GitHub (Feb 14, 2023):

I just tried debugging the dropdown issue, and it's very weird, because the component asks to be redrawn, but it's not. I don't want to report that as a bug to the framework, because I'm using a quite old version.

I guess the way forward is to upgrade through the breaking changes, but it's a non-trivial endeavor.

<!-- gh-comment-id:1430145469 --> @nitnelave commented on GitHub (Feb 14, 2023): I just tried debugging the dropdown issue, and it's very weird, because the component asks to be redrawn, but it's not. I don't want to report that as a bug to the framework, because I'm using a quite old version. I guess the way forward is to upgrade through the breaking changes, but it's a non-trivial endeavor.
Author
Owner

@Cajuteq commented on GitHub (Mar 21, 2023):

Just my 2 cent, but I can confirm the dropdown bug also happens on Firefox and Edge

<!-- gh-comment-id:1478264966 --> @Cajuteq commented on GitHub (Mar 21, 2023): Just my 2 cent, but I can confirm the dropdown bug also happens on Firefox and Edge
Author
Owner

@nitnelave commented on GitHub (Mar 23, 2023):

Yeah, I updated the framework to a newer version hoping that it would fix this bug, but it didn't. I'm still perplexed by this.

<!-- gh-comment-id:1481016379 --> @nitnelave commented on GitHub (Mar 23, 2023): Yeah, I updated the framework to a newer version hoping that it would fix this bug, but it didn't. I'm still perplexed by this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/lldap-lldap#148
No description provided.