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: N/A
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:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/393839
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1724422284086239?thread_ts=1724364263.668779&cid=C05LX9D6E07
Action Performed:
- Create a Control workspace on OldDot.
- Enable Advanced Approval
- Invite a submitter and an approver, we'll call them Approver A
- Set the submitter's submitsTo as Approver A
- As the submitter, submit an expense to the workspace chat.
- As the Admin, change the Submitter’s submitsTo to yourself, verify you have no forwardsTo set
- As Approver A, log in and open the report chat.
Expected Result:
Approver A should be able to see the 'Approve' button and tapping it should final approve the report.
Actual Result:
- In the ApproveMoneyRequest we are now building the approvalChain based on the submitter
- That is Admin in this case.
- This means Approver A is not flagged as finalApprover (as they should be)
- And that leads to check if the nextReceiver is the current manager (we should have never got here)
- that fails as there is no nextReceiver hence the 500 error
Workaround:
None
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @trjExpensify
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: N/A
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:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/393839
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1724422284086239?thread_ts=1724364263.668779&cid=C05LX9D6E07
Action Performed:
Expected Result:
Approver A should be able to see the 'Approve' button and tapping it should final approve the report.
Actual Result:
Workaround:
None
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @trjExpensify