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
Describe the bug
Attempting to define 'Action trends' on a new account results in errors, making it impossible(?) to create reports.
To Reproduce
Steps to reproduce the behavior:
Go to 'Trends' view
See error in console
Add an action filter
No data graph is presented
Expected behavior
Go to 'Trends' view
Add an action filter
See a graph of the results
Screenshots
Desktop (please complete the following information):
OS: macOS 10.15.3
Browser: Safari
Version: 13.0.5
Additional context
This is on the hosted PostHog instance.
Seems to be due to directly accessing the id the last actions.results item when the results list is empty (line 51).
Not familiar enough with the project to say whether that's a client or backend issue though.
@alex-ketch Thanks Alex, that is fixed. The reason for this is we normally load in some example actions, but that didn't happen with your account (due to the same issue that caused your token not to be set).
Once you create an action, you should be on your way!
Activity
Closes #351 client error when no actions defined
Merge pull request #352 from PostHog/351-client-error-when-no-actions…
timgl commentedon Mar 13, 2020
@alex-ketch Thanks Alex, that is fixed. The reason for this is we normally load in some example actions, but that didn't happen with your account (due to the same issue that caused your token not to be set).
Once you create an action, you should be on your way!
Big refactor #2 + Jobs Jobs Jobs (#351)