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
[HOLD for payment 2024-07-24] [$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone #44217
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.0.1-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail:https://expensify.testrail.io/index.php?/cases/view/2990401 Issue reported by: Applause - Internal Team
Action Performed:
Precondition: on self-DM click '+' > Track Expense
On the actionable whisper options click on 'Submit it to someone'
Choose another user and Submit
Expected Result:
The transaction is moved to that new chat.
Tracked expense is not displayed in the self DM anymore.
LHN of self-DM no longer shows "What would you like to do with this expense?"
Actual Result:
The transaction is moved to that new chat.
Tracked expense is not displayed in the self DM anymore.
LHN of self-DM still shows "What would you like to do with this expense?"
Workaround:
Unnkown
Platforms:
Which of our officially supported platforms is this issue occurring on?
@slafortune FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Please re-state the problem that we are trying to solve in this issue.
The transaction is moved to that new chat.
Tracked expense is not displayed in the self DM anymore.
LHN of self-DM still shows "What would you like to do with this expense?"
changed the title [-]Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/-][+][$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/+]on Jun 24, 2024
changed the title [-][$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/-][+][HOLD for payment 2024-07-24] [$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/+]on Jul 17, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve 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:
[@allroundexperts] The PR that introduced the bug has been identified. Link to the PR:
[@allroundexperts] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@allroundexperts] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@allroundexperts] Determine if we should create a regression test for this bug.
[@allroundexperts] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
I was not able to find the exact PR that caused this issue.
N/A
N/A
A regression test would be good to have.
Regression test
Open the chat with self, and click '+' > Track Expense
On the actionable whisper options click on 'Submit it to someone'
Choose another user and Submit
Verify that the transaction is moved to that new chat and tracked expense is not displayed in the self DM anymore.
Also verify that the LHN of self-DM no longer shows "What would you like to do with this expense?"
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 22, 2024
Triggered auto assignment to @slafortune (
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.lanitochka17 commentedon Jun 22, 2024
@slafortune FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
dominictb commentedon Jun 23, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The transaction is moved to that new chat.
Tracked expense is not displayed in the self DM anymore.
LHN of self-DM still shows "What would you like to do with this expense?"
What is the root cause of that problem?
Our function isResolvedActionTrackExpense:
App/src/libs/ReportActionsUtils.ts
Lines 672 to 675 in 4dc1710
reportAction?.resolution.That leads to this logic is wrong:
App/src/libs/OptionsListUtils.ts
Line 313 in 4dc1710
What changes do you think we should make in order to solve the problem?
App/src/libs/ReportActionsUtils.ts
Lines 672 to 675 in 4dc1710
to:
What alternative solutions did you explore? (Optional)
melvin-bot commentedon Jun 24, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01112f075346c9b0f8
[-]Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/-][+][$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/+]melvin-bot commentedon Jun 24, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (
External)melvin-bot commentedon Jun 27, 2024
@slafortune, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
19 remaining items
[-][$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/-][+][HOLD for payment 2024-07-24] [$250] Track expense - LHN of self-DM still shows actionable whisper after submitted to someone[/+]melvin-bot commentedon Jul 17, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 17, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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-07-24. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 17, 2024
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:
slafortune commentedon Jul 24, 2024
@allroundexperts can you please complete the checklist?
allroundexperts commentedon Jul 29, 2024
Checklist
Regression test
Verify that the transaction is moved to that new chat and tracked expense is not displayed in the self DM anymore.
Also verify that the LHN of self-DM no longer shows "What would you like to do with this expense?"
Do we 👍 or 👎 ?
melvin-bot commentedon Jul 30, 2024
@slafortune, @allroundexperts, @aldo-expensify, @dominictb Eep! 4 days overdue now. Issues have feelings too...
slafortune commentedon Jul 30, 2024
@allroundexperts role C+ - requires payment through NewDot Manual Requests of $250
@dominictb role contributor - Paid $250 via Upworks
JmillsExpensify commentedon Oct 4, 2024
$250 approved for @allroundexperts