You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-03-21] "Oops! Looks like you're submitting to yourself."... ALWAYS showing for reports on policies with policy?.preventSelfApproval === true #58128
Version Number: Latest Reproducible in staging?: Yes Reproducible in production?: No Issue reported by: me Slack conversation#expense
Action Performed:
Create a policy with preventSelfApproval set to true
Submit a report on that policy, where you know that the approver is NOT yourself
Expected Result:
Next Steps should mention that you're waiting on the correct approver
Actual Result:
We're always seeing the error message "Oops! Looks like you're submitting to yourself. Approving your own reports is forbidden by your policy. Please submit this report to someone else or contact your admin to change the person you submit to."
Workaround:
Can still submit fine, but i'm not sure if approvals work fine
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]"Oops! Looks like you're submitting to yourself."... ALWAYS showing for reports on policies with `policy?.preventSelfApproval === true`[/-][+][Due for payment 2025-03-21] "Oops! Looks like you're submitting to yourself."... ALWAYS showing for reports on policies with `policy?.preventSelfApproval === true`[/+]on Mar 14, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.12-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@Beamanator@Christinadobrzyn@Beamanator The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
melvin-bot commentedon Mar 10, 2025
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.Beamanator commentedon Mar 10, 2025
PR causing this is: https://github.com/Expensify/App/pull/56944/files#r1988118957
cc @lakchote @allroundexperts
Beamanator commentedon Mar 10, 2025
I'm working on a fix, cuz this should be a deploy blocker
melvin-bot commentedon Mar 10, 2025
Triggered auto assignment to @thienlnam (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.Beamanator commentedon Mar 10, 2025
Agreed on ^ in slack - https://expensify.slack.com/archives/C06ML6X0W9L/p1741645160823569
melvin-bot commentedon Mar 10, 2025
💬 A slack conversation has been started in #expensify-open-source
9 remaining items
Beamanator commentedon Mar 11, 2025
Done! looking good in staging! 👍
[-]"Oops! Looks like you're submitting to yourself."... ALWAYS showing for reports on policies with `policy?.preventSelfApproval === true`[/-][+][Due for payment 2025-03-21] "Oops! Looks like you're submitting to yourself."... ALWAYS showing for reports on policies with `policy?.preventSelfApproval === true`[/+]melvin-bot commentedon Mar 14, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 14, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.12-7 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 2025-03-21. 🎊
melvin-bot commentedon Mar 14, 2025
@Beamanator @Christinadobrzyn @Beamanator The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
allroundexperts commentedon Mar 20, 2025
No payment due here as this was a regression.