-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Trimming: Avoid crash due to missing tracks
property
#12556
Conversation
Plugin builds for e014eb1 are ready 🛎️!
|
Size Change: 0 B Total Size: 2.72 MB ℹ️ View Unchanged
|
As per the ticket, we should add a data migration. And of course ideally fix the root cause |
This fix, fixes the problem. What is the point of adding a migration? |
Looks like In that case please fix the lint errors and then I think we can merge it. |
tracks
propertytracks
property
@swissspidy - I was not able to find the branch within the web-stories-tester that would allow me to test this fix in isolation on stories-qa test site. To confirm this was fixed, I also recreated the crash in another branch that did not have the merged code. However, I noticed that the #12471 issue was closed. So i tested this crash by trimming the video on 5th page of the specific story that I had mentioned in that ticket. And the crash did not occur. Reporting this here since this ticket is sitting in Ready-for-QA although the fix seems to have been merged in main. |
Context
Summary
Set the default value of tracks in trim component to an empty array. This brings this compontent inline with others like this, this and this.
Relevant Technical Choices
To-do
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
Does this PR change what data or activity we track or use?
Does this PR have a legal-related impact?
Checklist
Type: XYZ
label to the PRFixes #12471