-
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 2023-05-22] Workspace - invitation message defaults even when deleted #18390
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.The default message is sent in the email even when the message was already deleted and was empty What is the root cause of that problem?When Invite button tapped it will call App/src/pages/workspace/WorkspaceInviteMessagePage.js Lines 111 to 115 in c7a8a88
At line 112 we are calling App/src/pages/workspace/WorkspaceInviteMessagePage.js Lines 100 to 104 in c7a8a88
So although user make welcomeNote empty it will grab default welcome note from What changes do you think we should make in order to solve the problem?To solve this we have to remove sendInvitation() {
Policy.addMembersToWorkspace(this.props.invitedMembersDraft, this.state.welcomeNote, this.props.route.params.policyID);
...
} So this will solve the issue and does not send welcome note when it is empty. What alternative solutions did you explore? (Optional)None |
Testing this, it's required to send an invitation message:
Do we want to allow users to send an invitation without any message? Asking for more thoughts about that in the Slack thread. |
hey @sobitneupane would you be able to see if this is a regression from #14568 |
Asking in PR about regression - #15672 |
Yes. Seems to be a regression. Will raise a PR to fix it. But a curious question why wasn't this caught during regression test? Since there was a regression test in the original code test - #14568 (comment) |
PR for fix - #18601 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.13-5 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-05-22. 🎊 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.
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:
|
Checking on payment of this with the team, from my understanding, this wouldn't be paid since it was found (report May 3rd) so close to the deployment of the original PR (deployed May 2nd)... but I'm not 100% |
Hi @Christinadobrzyn. I think we deserve to get paid for this since if it wasn't reported then it would have remained unsolved till date. Kindly let me know your thoughts on this. Thanks. |
Talking this over with the team! It looks like the offending PR was deployed to staging on May 2nd and we identified the regression on May 3rd. But we will pay for reporting the issue @priya-zha. Let me create a job in Upwork and then I can invite you to it for payment. |
@priya-zha can you apply for the job here and I'll pay you? Sorry for the delay in payment. |
@Christinadobrzyn Accepted the offer.Thanks. |
Hello @Christinadobrzyn |
📣 @yavis1218! 📣
|
Hi, I can solve this issue |
📣 @EvgeniyMeshik1! 📣
|
Sorry, I dont have Upwork account. |
Hi @yavis1218 and @EvgeniyMeshik1 this issue is already completed - it's just waiting for me to pay it out. If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel! Post your questions on the channel, so people will address your queries. |
@priya-zha - I paid you in Upwork! Thanks for finding this bug. Going to close this as complete! |
Great |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The default message should not be shown in the email when the message was already deleted while inviting the user
Actual Result:'
The default message is sent in the email even when the message was already deleted and was empty
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.9.16
Reproducible in staging?: y
Reproducible in production?:
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
error-2023-05-03_19.00.24.mp4
Recording.475.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683120050629809
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: