Closed lanitochka17 closed 2 months ago
Triggered auto assignment to @kadiealexander (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
We think that this bug might be related to #vip-vsp
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Attachment - A broken video file is loaded via action menu
The root cause is we lose the correct file name here:
This happens as when fileName is empty string, ??
operator is not triggered,
We will use ||
operator to make sure FileUtils.getFileName(url)
is called.
const completeFileName = FileUtils.appendTimeToFileName(fileName || FileUtils.getFileName(url));
We may use another variable to calculate param.
This works perfectly
https://github.com/user-attachments/assets/25c6b1de-853b-43b0-982c-fd002266c09a
Attachment - A broken video file is loaded via action menu
<a>text</a>
but it isn't configured for <video>text</video>
elements.
<a href="https://www.expensify.com/chat-attachments/5472531993863123939/w_ebdde7322a1d6097c0640c162fcdf6aaa9280ee6.xml" data-expensify-source="https://www.expensify.com/chat-attachments/5472531993863123939/w_ebdde7322a1d6097c0640c162fcdf6aaa9280ee6.xml">intacct_expensify_1_1_0.xml</a>
We need to modify the regex to also consider for video
tags.
new RegExp('<(?:a|video)[^>]*>([^<]+)</(?:a|video)>', 'i');
https://github.com/user-attachments/assets/19223227-5961-48f8-be4b-0d08745f82e0
Job added to Upwork: https://www.upwork.com/jobs/~011ea5f33ec2b35a17
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (External
)
@neonbhai Thank you for your proposal, your RCA is correct but the main problem here is fileName
being empty where it shouldn't. We should fix this rather than adjusting our code to work with this issue
@Krishna2323 Thank you for your proposal, your RCA is correct and your solution does solve the issue of fileName
being empty.
We can go with @Krishna2323 's proposal
C+ reviewed π π π
Triggered auto assignment to @danieldoglas, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @alitoshmatov π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @Krishna2323 π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
@alitoshmatov, PR ready for review ^
@alitoshmatov, friendly bump for PR review.
I think this was deployed to production yesterday. So now we have a regression period of 7 days. cc @kadiealexander
@kadiealexander, this is ready for payments as per the comment above.
This issue has not been updated in over 15 days. @danieldoglas, @kadiealexander, @alitoshmatov, @Krishna2323 eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
@kadiealexander, friendly bump for payments.
Waiting for payment, PR was deployed on 14th of august
@kadiealexander, friendly bump for payments :)
added the correct labels and assigned @kadiealexander to be the main person responsible for this issue.
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.13-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4771740 Email or phone of affected tester (no customers): sustinov@applausemail.com Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Using the action menu, the video file should be downloaded uncorrupted
Actual Result:
A corrupted video file is loaded via the action menu
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/ba07d5dc-cb03-4f8a-92e6-040076a2dcc7
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexander