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
Crash when opening paths from a saved insights list, or a dashboard. Same error both times:
exportfunctionpageUrl(d: PathNodeData,display?: boolean): string{constincomingUrls=d.targetLinks.map((l)=>l?.source?.name?.replace(/(^[0-9]+_)/,'')).filter((a)=>{try{newURL(a)}catch{returnfalse}returna}).map((a)=>newURL(a))constincomingDomains=Array.from(newSet(incomingUrls.map((url)=>url.origin)))console.log(d)// the next line crashesletname=d.name.replace(/(^[0-9]+_)/,'')if(!display){returnname}
Logging d shows the name contains the object itself.
Where does that come from?
Expected behavior
The page should just open
How to reproduce
Enable turbo mode
Click on a path from the saved insights or any dashboard scene
Kaboom
Environment
PostHog Cloud
self-hosted PostHog (ClickHouse-based), version/commit: please provide
self-hosted PostHog (Postgres-based, legacy), version/commit: please provide
Additional context
Reloading makes the insight appear, so not a P0, but should be fixed nevertheless..
Thank you for your bug report – we love squashing them!
The text was updated successfully, but these errors were encountered:
Bug description
Crash when opening paths from a saved insights list, or a dashboard. Same error both times:
Logging
d
shows thename
contains the object itself.Where does that come from?
Expected behavior
The page should just open
How to reproduce
Environment
Additional context
Reloading makes the insight appear, so not a P0, but should be fixed nevertheless..
Thank you for your bug report – we love squashing them!
The text was updated successfully, but these errors were encountered: