jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.31k stars 1.23k forks source link

"edit user" page in dashboard crashes on refresh #6145

Open nielsvanvelzen opened 23 hours ago

nielsvanvelzen commented 23 hours ago

Describe The Bug

When refreshing the "edit user" page the page crashes.

Steps To Reproduce

  1. Go to the dashboard
  2. Go to the "users" page
  3. Click on any user
  4. Refresh the page
  5. Notice the error

Expected Behavior

Page doesn't crash

Logs

Displayed on page

TypeError

a is null

le@http://localhost/web/73233.294285d0ae14263ac91a.chunk.js:2:12493
73233@http://localhost/web/73233.294285d0ae14263ac91a.chunk.js:2:17829
s@http://localhost/web/runtime.bundle.js?08b0f01ed637969f6396:1:155
71005@http://localhost/web/users-profile.52d3fde380d04b0db23e.chunk.js:1:192
s@http://localhost/web/runtime.bundle.js?08b0f01ed637969f6396:1:155
38601/i/<@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:447235
promise callback*i@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:447211
i@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:412281
51218/o/lazy/s/<@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:413747
51218/o/lazy/s/s/</<@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:413581
51218/o/lazy/s/s/<@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:413686
51218/o/lazy/<@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:414080
lazy@http://localhost/web/main.jellyfin.bundle.js?08b0f01ed637969f6396:2:413816
87383/Oe/e/<@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:58030
d@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:730
87383/a/P/<@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:2073
87383/a/R/</<@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:1159
o@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:6633
u@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:6837
87383/i/</<@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:6896
87383/i/<@http://localhost/web/node_modules.%40remix-run.router.bundle.js?08b0f01ed637969f6396:2:6776

Browser console:

 Uncaught TypeError: me is undefined

Stacktrace leads to this part of the (minified) code:

            this.classList.contains('withTabs') ||
            me.setTabs(null)

Screenshots

System (please complete the following information):

Additional Context

viown commented 23 hours ago

https://github.com/jellyfin/jellyfin-web/pull/6134

nielsvanvelzen commented 23 hours ago

Fixed in -3 days, that's blazingly fast 😄