You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting WEBSITE_SHOW_VERSION to false causes version.data.data.versions to be undefined and the frontend to crash.
With the option set to false:
With the option set to true:
Likely this is due to the client expecting a positive result (200 with a value), however the dashboard isn't handling this tuple correctly. Although isSuccess is false, the frontend is still trying to render version.data.versions.current which because version.data.versions is undefined, the object it's trying to refer to will throw a TypeError.
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox
Zipline Logs
2023-08-21 04:13:45,021 AM info [datasource] using Local(./uploads) datasource
2023-08-21 04:13:45,055 AM info [database::migrations] establishing database connection
2023-08-21 04:13:45,055 AM info [database::migrations] ensuring database exists, if not creating database - may error if no permissions
2023-08-21 04:13:45,303 AM info [database::migrations] exiting migrations engine - database is up to date
2023-08-21 04:13:46,794 AM info [server] listening on 0.0.0.0:3000
2023-08-21 04:13:46,794 AM info [server] started production zipline@3.7.3 server
2023-08-21 04:14:03,280 AM info [server::response] GET /dashboard -> 200
What happened?
Setting
WEBSITE_SHOW_VERSION
to false causesversion.data.data.versions
to beundefined
and the frontend to crash.With the option set to
false
:With the option set to
true
:Likely this is due to the client expecting a positive result (200 with a value), however the dashboard isn't handling this tuple correctly. Although
isSuccess
is false, the frontend is still trying to renderversion.data.versions.current
which becauseversion.data.versions
isundefined
, the object it's trying to refer to will throw aTypeError
.Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox
Zipline Logs
Browser Logs
![image](https://github.com/diced/zipline/assets/1700460/98d32f7b-8e30-44dc-855b-a80865b64a82)
Additional Info
No response
The text was updated successfully, but these errors were encountered: