beets
beets copied to clipboard
Attempting to open the Sequencer in a Track with a deleted file throws an error/white screen
Steps to reproduce:
- Create a new Track with at least one step.
- Save the project.
- Go to the library and delete the file associated with that step.
- Go back to the workstation and attempt to open the Sequencer for the Track Section that had the step.
The screen will go white and errors in the console will read:
react-dom.production.min.js:127 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
at wa (sequencer-step-row.tsx:53:52)
at ha (react-dom.production.min.js:166:137)
at cs (react-dom.production.min.js:289:386)
at oc (react-dom.production.min.js:279:379)
at rc (react-dom.production.min.js:279:310)
at nc (react-dom.production.min.js:279:170)
at Hs (react-dom.production.min.js:270:443)
at Ks (react-dom.production.min.js:272:300)
at Mi (react-dom.production.min.js:127:105)
at react-dom.production.min.js:267:269
Not sure what the best course of action is here (you should realistically be able to replace the steps with a separate file/sample), but it at least shouldn't blow up if the file can't be found!