Bug: JavaScript error in your D3.js code: undefined is not an object (evaluating 'data[data.length - 1]')
elvidence opened this issue · comments
Actual behavior
This one is kind of difficult to replicate and perhaps is not a priority, as the functionality is not affected. Some events, when opened throw an error in a JavaScript D3.js code: undefined is not an object (evaluating 'data[data.length - 1]') See attached screenshot for details. I used Web Inspector to examine events, some display the error and some don't.
Expected behavior
there should be no javascript errors
Steps to reproduce
Difficult, as some events have it and some don't
Version
2.4.193
Operating System
Ubunut
Operating System version
22.04
PHP version
7.4
Browser
Safari, Firefox
Browser version
No response
Relevant log output
No response
Extra attachments
![Screenshot](https://private-user-images.githubusercontent.com/39727826/340659711-8c21f65e-f182-4901-994e-60a61910db92.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzNDY2MTQsIm5iZiI6MTcxOTM0NjMxNCwicGF0aCI6Ii8zOTcyNzgyNi8zNDA2NTk3MTEtOGMyMWY2NWUtZjE4Mi00OTAxLTk5NGUtNjBhNjE5MTBkYjkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI1VDIwMTE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1MjA3ZmI1NTA0NWQ5OGQ4MmVmYmY3YmNkNzEyOTVmMDg0MWY0M2EzNmE3Nzk5MDExNjNmMGQwNDRjYjE5OTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FFGdCv327K5YgaYpskhwGQ4SB6mDXsIbhgxWyCzOhY8)
Code of Conduct
- I agree to follow this project's Code of Conduct