mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
Editing an item, further down the list, in web vault causes the page to revert back to a previous spot #1791
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub.
Subject of the issue
Editing an item, further down the list, in web vault causes the page to revert back to a previous spot. That is if I'm editing an item, that begins with T and click save the page returns to the page back to items beginning with P.
I'm then not able to scroll down anymore, and have to refresh the vault and sign in again.
I couldn't replicate this on https://vault.bitwarden.com/
Your environment
Steps to reproduce
Expected behaviour
Actual behaviour
Relevant logs
Screenshots attached:

Upon clicking save I'm taken back to here:

@jjlin commented on GitHub:
He said it's not reproducible on https://vault.bitwarden.com/, though. I can confirm the same behavior (jump back occurs on bitwarden_rs web vault, doesn't on vault.bitwarden.com). I'm running the latest
alpineimage (eb72b46ed172).@mqus commented on GitHub:
Which vault version do you have or which docker image did you use?
@ghost commented on GitHub:
Vault version: 2.12.1
Image: bitwardenrs/server:latest
@ghost commented on GitHub:
Yeah, I couldn't replicate the problem on https://vault.bitwarden.com hence opting to log here
I feel that if I raise an issue with them, pointing out I use bitwarden_rs, they'll probably tell me to raise an issue here
@BlackDex commented on GitHub:
Please report this upstream https://github.com/bitwarden/web/issues since bitwarden_rs only uses the web-vault code and does not maintain it.
@BlackDex commented on GitHub:
Well, the author of bitwarden knows that bitwarden_rs just uses the web-vault, with some small tweaks. But still lets test it here first. I will try to do some testing also and see if i can reproduce and track down the error.
@ghost commented on GitHub:
Ok thanks, otherwise let me know and I'll raise an issue there
@BlackDex commented on GitHub:
Oke. The strange thing here is that i can not reproduce it on my dev environment.
First i thought, well maybe because i directly connect to it locally, so no proxy etc.. in between.
Then i tested it with nginx and https in front of it but also then this does not happen.
I have tried the latest web v2.12.0d (v2.12.1) and a custom build with from the master of bitwarden/web on both my local dev and remote production environment.
I can only reproduce it on the docker build environment and not with my dev environment.
Even with an other web-vault to rule out an issue there.
I have at this point really no clue.
@jjlin Could you test it on your dev environment also?
btw, i have not tested a new docker build.
@BlackDex commented on GitHub:
For some reason i see that the rs version is doing both a PUT and a GET while the official one is only doing a PUT and nothing more. Lets see if i can figure out why.
@BlackDex commented on GitHub:
Ok, this could be a web-socket thingy.
When i manually run the PUT command via a curl cli command i see a GET request in the browser, though, this does NOT reload my browser at that point.
@BlackDex commented on GitHub:
@slaughtermouse Sorry to read.
May i ask which niggles? Maybe if there are items we can fix or improve i would like to know about them so that we can try and improve those.
I just tested it my self on the docker build environment with firefox, but i refreshes there also.
@BlackDex commented on GitHub:
@dani-garcia or @mprasil or anyone else. Can someone confirm this?
@ghost commented on GitHub:
Sounds like a bit of a weird one :|
Thanks for testing out the various scenarios
@ghost commented on GitHub:
@BlackDex, sorry I actually ended up moving back to 1password. There were a few too many niggles with bitwarden that made it annoying to use vs 1password.
If it's working for you I'm happy to close, though @jjlin might be able to confirm seeing as they were able to reproduce as well
@BlackDex commented on GitHub:
@slaughtermouse could you try to update to the latest version? The latest docker build includes the v2.13.1 web vault. And at least on my mobile I'm not experiencing the issue anymore.
@ghost commented on GitHub:
Just small things, like if you have multiple accounts on a website e.g. Office365 or GSuite it just enters the last used username/password. You can bring up the extension with ctrl+shift+l but then you can't even use arrow keys to navigate to an item..
No trash can, so accidental deletes are lost forever. Though I see this is finally being "planned"
Plus a few other things that are already feature requests: https://community.bitwarden.com/c/feature-requests/5/l/latest?order=votes
Of which there seems to be minimal to no developer interaction on the forums, so its hard to know what/if anything is actually being done
This is by no means a post to bash bitwarden, just reasons why I went back to 1password
@ghost commented on GitHub:
Agreed, and I'll be keeping an eye out periodically to check on progress
@BlackDex commented on GitHub:
Non taken. And all is stuff we can not change.
You should use what fits the best for you, that is the nice thing about all these different services.
@BlackDex commented on GitHub:
Well the issue seems to be attachments.
If you have one item which has an attachment, it will cause this.
Removing the attachment again and it is fixed.
@BlackDex commented on GitHub:
Well, i did some more testing yesterday.
And it seems it has something to do with the vault data.
When using a clean vault, and only personal items, it will not reload.
When i use my private real vault data, which has folders and orgs i'm refreshed.
So it has something to do with that, and probably is an upstream bug.
I Will try to debug it further when i can.
@BlackDex commented on GitHub:
Upstream has been able to reproduce the issue and will take a look at it.
@BlackDex commented on GitHub:
Well, i was only able to have it appear when i had an attachment in one item. Maybe if there is a note or a card? If you have more insight then update the upstream issue.
@BlackDex commented on GitHub:
Going to close this one as it's not something we can fix in this repo.
@jjlin commented on GitHub:
Just FYI, I don't think it's exclusively related to attachments. I could reproduce the issue with my normal vault data, and I don't use attachments at all.