-
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 2024-06-06] [$250] Wrong "Next step" displayed for the approver #41614
Comments
Triggered auto assignment to @adelekennedy ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Payer is wrong in the header What is the root cause of that problem?When an employee creates a money request, the backend returns a request report where the managerID is the ID of the approver Lines 302 to 309 in 2f5173c
Given that If I understand correctly:
If this understanding is accurate, then the current logic here is wrong What changes do you think we should make in order to solve the problem?We need to extract the approverID from the policy using
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01e9b6cf8e506af2ea |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
@dukenv0307 just one proposal to review so far |
ProposalPlease re-state the problem that we are trying to solve in this issue."Waiting for you to pay these expenses" is displayed for approver who is not configured to pay the report What is the root cause of that problem?The logic we have here is wrong, in this case there's no further action required from the approver so the message shown is incorrect What changes do you think we should make in order to solve the problem?Since there's no further action required from the approver in this case, we can update this to the Or we can use the no action required message for the whole block here (except the case where the current user is the payer of the request too) What alternative solutions did you explore? (Optional)Early return |
starting review now |
I like @dominictb's alternative solution 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @flodnv, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mountiny fancy giving this proposal a review? |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dominictb You have been assigned to this job! |
Happy to take this over from Flo as I have worked on the next steps before. @dominictb Your alternative solution looks better. When the |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-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 2024-06-06. 🎊 For reference, here are some details about the assignees on this 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:
|
@dominictb do you mind applying to the job here so I can pay you out? Thank you!! |
@dominictb accepted |
@adelekennedy Offer accepted, thanks |
payments made! @dukenv0307 do we need a regression test here? |
BugZero Checklist:
|
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: 1.4.70-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714518611299619
Action Performed:
Prerequisite: Have a collect workspace with admin, approver, and employee.
Expected Result:
"Waiting for you to pay these expenses" should not be displayed for the approver
Actual Result:
"Waiting for you to pay these expenses" is displayed for approver who is not configured to pay the report
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
pay.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: