bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.24k stars 1.24k forks source link

Save password prompt not working, got JS errors #8510

Open rkuzmin opened 7 months ago

rkuzmin commented 7 months ago

Steps To Reproduce

  1. Go to any page
  2. Click on login form
  3. Nothing happens, got JS error in browser console

Expected Result

Save password prompt appears

Actual Result

Nothing happens, got JS error in Console

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'vault') at notificationBar.js:356:82 at Generator.next (<anonymous>) at fulfilled (notificationBar.js:260:58) The code: if (userSettingsStorageValue[activeUserId]) { const userSettings = userSettingsStorageValue[activeUserId].settings; const globalSettings = (yield getFromLocalStorage(globalStorageKey))[globalStorageKey]; // Do not show the notification bar on the Bitwarden vault // because they can add logins and change passwords there if (window.location.origin === userSettings.serverConfig.environment.vault) { showNotificationBar = false; }

Screenshots or Videos

No response

Additional Context

No response

Operating System

macOS

Operating System Version

13.6.5 (22G621)

Web Browser

Chrome

Browser Version

123.0.6312.59

Build Version

2024.2.1

Issue Tracking Info

Krychaz commented 7 months ago

Hello there,

Will you try uninstalling the application, removing any leftover data, powering off and on your device and re-installing? Does this issue still persist?

Guide to the leftover data: https://bitwarden.com/help/data-storage/#on-your-local-machine

Let me know if that helps.

rkuzmin commented 6 months ago

Yes, I did and it doesn't helped.