-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-02-13] [HOLD for payment 2023-02-10] [$1000] Profile : Infinite loading spinner appears choosing images with file names has space or special character #14757
Comments
Triggered auto assignment to @mateocole ( |
Job added to Upwork: https://www.upwork.com/jobs/~011dbd8a1da41596b4 |
Current assignee @mateocole is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @MonilBhavsar ( |
Adding same response which I have added here #14266 (comment) Proposal This PR seems to raise a regression where we won't able to reach out to Avatar Crop part and the infinite loader will remain on the screen after cleaning the filename. App/src/components/AttachmentPicker/index.js Lines 39 to 42 in 51f1a77
Screen.Recording.2023-02-03.at.6.39.27.PM.mp4To solve we need to make an order change that confirms the diff --git a/src/components/AttachmentPicker/index.js b/src/components/AttachmentPicker/index.js
index dddceb7cf7..dc6573e02c 100644
--- a/src/components/AttachmentPicker/index.js
+++ b/src/components/AttachmentPicker/index.js
@@ -36,10 +36,10 @@ class AttachmentPicker extends React.Component {
if (file) {
const cleanName = FileUtils.cleanFileName(file.name);
- file.uri = URL.createObjectURL(file);
if (file.name !== cleanName) {
file = new File([file], cleanName);
}
+ file.uri = URL.createObjectURL(file);
this.onPicked(file); Screen.Recording.2023-02-03.at.6.39.48.PM.mov |
I think this is regression from #14266 which is still in regression period should be handled there |
@MonilBhavsar the proposal looks good to me C+ reviewed 🎀👀🎀 |
Monil is offline, so I will take over on this issue |
Keeping this open to pay out cc @mateocole |
Still need C+ and issue reported to apply to the upwork link! |
@mateocole applied |
Regression Test Proposal
|
It's not available anymore. |
It looks good to me. I think we should also add an example in the third steps "Select any pic with special char in file name e.g. |
Thanks! Applied |
Ok thx! |
@mateocole reporting bonus is pending |
@mateocole same(payment pending) for me. |
Also the 50% bonus is due @mateocole!
I think this action is also pending. Regression Test steps -
|
@mateocole quick bump! |
@thienlnam can you please reopen the issue as payment is pending here |
📣 @gadhiyamanan! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Pinged Matt to take care of payment on this issue! |
Okay, apologies with the multiple jobs on this. All paid and bonuses paid. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
space
or having brackets()
in the image file nameExpected Result:
Able to upload without any issue
Actual Result:
Infinite loading spinner appears
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.64-2
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/216393900-86df9390-229e-4ecd-aa56-826d8fff2e32.mov
https://user-images.githubusercontent.com/43996225/216393999-0ab8f66c-e86e-47d9-8022-dcf6b87c4393.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1675312872492999
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: