-
Notifications
You must be signed in to change notification settings - Fork 3k
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-10-02] [$500] Web - Editing request money while the user paid the requested money will still notify the change #26880
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The request money report should not display a change message if the edit fails or gives an error What is the root cause of that problem?We have a step that is easier to reproduce.
From the above step, we can easily see that when editing the backend, an error will be returned because the request has been paid. But when editing we have built message changes in Lines 999 to 1005 in 1eafc7d
And we have Lines 1037 to 1045 in 1eafc7d
It's easy to see that What changes do you think we should make in order to solve the problem?We should update onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${transactionThread.reportID}`,
value: {
[updatedReportAction.reportActionID]: {
errors: ErrorUtils.getMicroSecondOnyxError('iou.genericEditIOUFailureMessage')
},
}, What alternative solutions did you explore? (Optional)Or we can delete the message change if the error: |
I've run out of time today and will test soon. |
Still on my testing list |
Job added to Upwork: https://www.upwork.com/jobs/~01b9b7308912bc30e7 |
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
@ntdiary - can you please review if the proposal will fix this issue? Thanks! |
@alexpensify, just woke up, I will review it soon. 😄 |
@alexpensify, @namhihi237's proposal makes sense to me, and just a small tip, we already have the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@ntdiary - all good, we are in different timezones. 😄 Thanks for the quick review here. |
❌ There was an error making the offer to @ntdiary for the Reviewer role. The BZ member will need to manually hire the contributor. cc @thienlnam |
@namhihi237's proposal LGTM, and I agree |
@ntdiary @roryabraham While executing the step, I found an error in addition to the above one on current main and stg.
This error will not occur when there is any message before going offline.
I think this error is not within the scope of this PR. What do you think? If agree, I will report a bug for this error and this will fix it in another issue. Detail video. Screen.Recording.2023-09-20.at.00.22.15.mov |
@namhihi237, I couldn't reproduce it. 🤔 |
Yes, It happens sometimes, I'm not sure but guess it's due to the component rendering. I tried a few times but it was in the wrong position |
I just tried to reproduce it on staging now 269210044-0a3f1eed-51ae-4922-8b79-a3e1e1147d60.mov |
test.mp4Ah, I can reproduce it, and even when I refresh the page, the message is still in the wrong position, and it keeps requesting to load more chats infinitely. I personally think we can create a separate issue to investigate it. The |
Sure. @namhihi237 you should post it in #expensify-bugs so you can get the reporting bonus. |
🎯 ⚡️ Woah @ntdiary / @namhihi237, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-10-02. 🎊 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.
For reference, here are some details about the assignees on this issue:
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:
|
@ntdiary - please complete the checklist to prepare for the payment date. Thanks! |
@alexpensify, this is just polish for the new |
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~01b9b7308912bc30e7 *If applicable, the bonuses will be applied on the final payment Extra Notes regarding payment: There is an urgency bonus here and I'll apply that in the payment process |
Everyone has been paid and it looks like automation didn't add @ntdiary. I sent over an offer that needs your approval in Upwork. |
@alexpensify, accepted the offer. 😄 |
Alright, everyone has been paid here. Great work! |
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:
Expected Result:
No change should be reflected
Actual Result:
A notification that shows change will appear in the edit room
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.64.0
Reproducible in staging?: y
Reproducible in production?: y
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
Recording.4292.mp4
sends.notification.to.paid.mp4
Expensify/Expensify Issue URL:
Issue reported by: @lidiyakelay
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693558160950359
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: