-
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
Wrong email sent during auto-reimbursement #52800
Comments
Triggered auto assignment to @VictoriaExpensify ( |
@blimpich Is knowledgable in this area. Not sure if he has the bandwidth to pick it up or not, but can be a resource. |
There is some other work going on with incorrect emails here. I'm not sure they are entirely related, but they seem similar |
Can't pick up right now but will keep on radar |
@Beamanator any chance this is related to the work you're doing on email notifications? |
It looooks like here's the logs: https://staging.expensify.com/_devportal/tools/logSearch/#query=request_id:(%228e524bf999002b88-LAX%22)+AND+timestamp:[2024-11-19T17:34:55.263Z+TO+2024-11-19T19:34:55.263Z]&index=logs_expensify-031280 I will continue looking in a minute 😅 |
Hmmmmmmmm |
requestedTo: 'Expenses - Expensify US' 👍 Looks like ^ comes from I think the problem is that there's only 2 notifiable participants on the account..l
... Which are Ryan & [email protected] So we somehow thought ryan was being paid at this point |
Coming from the thread. Just a note that we're keen to consolidate to the one email subject to both the payer and payee (the real one though! 😅) with the subjectLine: If a name isn't set, we should still fallback on the primaryLogin as standard. |
Love it 👍 and i wish i understood how to make that simple sounding change, but our notification-creating code is kinda a webby mess so I am hoping someone with more context (those ping'd before & ben) could figure this out quicker than me |
I think it goes wrong in this line: https://github.com/Expensify/Web-Expensify/blob/9b5bb16df975eadfd724db63ac01aa6c184920dd/lib/ReportUtils.php#L2470 We can't know for sure that the payee is the first in the We probably want to find the |
That soundsss pretty legit, any chance you want to take that task? :D |
Yeah sure, I can fix the bug @trjExpensify are we handling the subject change elsewhere? |
Nope, here would be great!
*Tom Rhys Jones *
*Expensify*
…On Wed, 20 Nov 2024 at 16:32, Rodrigo Lino da Costa < ***@***.***> wrote:
Yeah sure, I can fix the bug
@trjExpensify <https://github.com/trjExpensify> are we handling the
subject change elsewhere?
—
Reply to this email directly, view it on GitHub
<#52800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3246ODARQ7ARDBCRZQ4OL2BS2QDAVCNFSM6AAAAABSDKKQZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGA2TIOJQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This is deployed to prod 🎉 |
Version Number: v9.0.63-3
Reproducible in staging?: Unsure
Reproducible in production?: Unsure
**If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Unsure
**If this was caught during regression testing, add the test name, ID and link from TestRail: No
Email or phone of affected tester (no customers): [email protected]
Logs: N/A
Expensify/Expensify Issue URL: Made it here and not E/E.
Issue reported by: Ryan Schaffer
Slack conversation (hyperlinked to channel name): #retain: https://expensify.slack.com/archives/C07NZ8B1VTQ/p1732050274936679
Action Performed:
Expected Result:
I expected to receive an email that said Expensify US paid David Bondy $23.36.
Actual Result:
I got an email that said Expensify US paid you $23.26.
(This made me think that I received money, but the YOU being referred to in the email subject is David Bondy, not me. I received the email that David Bondy should have got.)
Workaround:
Yes, but this is bad UX.
Platforms:
This is an email issue, so backend. Not platform dependent (I don't think).
Screenshots/Videos
The text was updated successfully, but these errors were encountered: