-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Incorrect video downloaded #40647 #41054
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
Conversation
|
@rayane-djouah Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
rayane-d
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please complete the author checklist, Thanks!
|
@rayane-djouah |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-29.at.9.30.51.PM.movAndroid: mWeb ChromeScreen.Recording.2024-04-29.at.9.32.46.PM.moviOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-04-29.at.21.26.39.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-04-29.at.21.28.39.mp4MacOS: Chrome / SafariScreen.Recording.2024-04-29.at.9.18.56.PM.movMacOS: DesktopScreen.Recording.2024-04-29.at.9.20.41.PM.mov |
|
@KMichel1030, Please write "Same as tests" in Offline tests and QA Steps sections when they have the same steps |
|
@rayane-djouah |
rayane-d
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
|
@KMichel1030, can you please apply the suggested changes? |
|
@rayane-djouah |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 1.4.69-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.69-2 🚀
|
| if (typeof source === 'number' || !source) { | ||
| return; | ||
| } | ||
| const sourceURI = addEncryptedAuthTokenToURL(source.uri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source.uri already has encryptedAuthToken appended. We are adding it again here,And because of this double encryptedAuthToken in the URL causes this issue: #43117 in Safari on mWeb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jayeshmangwani Does this mean we have to fix this issue again? Or did your follow up solution make sure to not cause a regression?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have fixed the issue in a PR, comment was just to notify that we could have avoided this issue
|
This case from this issue was missed while making the change in this PR. Issue: Web - Attachments - Incorrect file format is downloaded when downloading video from preview |
Details
Fixed Issues
$ #40647
PROPOSAL: #40647 (comment)
Tests
Check that video 1 is downloaded.
Offline tests
Same as tests
(Since this is download issue we can't test in offline status)
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
bandicam.2024-04-28.00-19-02-611.mp4
MacOS: Desktop
bandicam.2024-04-28.06-52-46-106.mp4