-
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 checklist] [$1000] Dev: console error on attach large file #21947
Comments
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.console error on attach large file What is the root cause of that problem?initially title of App/src/components/AttachmentModal.js Line 86 in 5997357
What changes do you think we should make in order to solve the problem?use empty string instead of App/src/components/AttachmentModal.js Line 86 in 5997357
const [attachmentInvalidReasonTitle, setAttachmentInvalidReasonTitle] = useState(‘’);
|
ProposalPlease re-state the problem that we are trying to solve in this issue.console error on attach large file What is the root cause of that problem?initially title of App/src/components/AttachmentModal.js Line 86 in 5997357
What changes do you think we should make in order to solve the problem?use empty string instead of App/src/components/AttachmentModal.js Line 86 in 5997357
const [attachmentInvalidReasonTitle, setAttachmentInvalidReasonTitle] = useState(‘’);
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Dev: console error on attach large file What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
update code -
NOTE : By just doing 1st point of the fix it might break the confirmation modal and show an empty title and empty reason in some scenarios where the network might be slow so 2nd point of the fix is recommended because this will set the title and reason before opening the ConfirmModal. NOTE : This error will show for all the three scenarios which we are creating here - Invalid Extension, Max File Size, Min File Size By doing similar changes as shown above we can fix this also. What alternative solutions did you explore? (Optional)NA |
@greg-schroeder Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Will review after the holiday |
Job added to Upwork: https://www.upwork.com/jobs/~019cbb5ba4f7a22f2f |
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
The issue here is that Confirm modal is not really waiting null for title. In all other components in which <ConfirmModal is used - we either directly apply title from props, or having default value as empty string - like here src/components/AvatarWithImagePicker.js |
Triggered auto assignment to @hayata-suenaga, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@kbecciv is from testing team and proposal was proposed by me in slack while reporting bug cc: @narefyev91 |
Oh makes sense - will update my comment, thanks! |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.39-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-20. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Issuing offers |
@greg-schroeder offers have already been accepted which was shared by Malvin #21947 (comment) #21947 (comment) |
Sorry I meant to say payment |
@greg-schroeder this is also eligible for 50% bonus |
Payment complete. Awaiting checklist from @narefyev91 |
Bump on the above @narefyev91 |
@greg-schroeder Hey! Sorry I'm OOO on vacation - i hope @mountiny will help here |
@gadhiyamanan as the M=Pr author can you please complete the checklist? |
bump @gadhiyamanan on the above |
We already have a checklist item. I don't think any further updates are required
I don't think we need a regression test as well. this is a minor issue |
Thanks @gadhiyamanan! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Should not show any console error
Actual Result:
Console error appears (Failed prop type: The prop
title
is marked as required inConfirmContent
, but its value isnull
.)Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.34-1(occurs in dev)
Reproducible in staging?: n/a
Reproducible in production?: n/a
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: Any additional supporting documentation
Screen.Recording.2023-06-29.at.12.34.26.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688026830153149
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: