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-02-13] [$250] Track - Nothing happens when clicking on tracking options on unreported expense created on OD #54726
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.80-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail: Exp https://expensify.testrail.io/index.php?/tests/view/5394360 Email or phone of affected tester (no customers):applausetester+394034@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.0 / Chrome App Component: Money Requests
Action Performed:
Go to staging.expensify.com
Go to Expenses.
Create an unreported expense (report is set to none).
Log in to staging.new.expensify.com with the same account.
Go to self DM.
Click on the expense created on Old Dot.
Click on the report header.
Click on any tracking option.
Expected Result:
The tracking options should open the respective page.
Actual Result:
Nothing happens when clicking on tracking options on unreported expense created on Old Dot.
We need to update the actionableWhisperReportActionID here to string | undefined and do some cleanup if actionableWhisperReportActionID is undefined. I tested and it works well in the case actionableWhisperReportActionIDis undefined
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Track - Nothing happens when clicking on tracking options on unreported expense created on OD[/-][+][$250] Track - Nothing happens when clicking on tracking options on unreported expense created on OD[/+]on Jan 8, 2025
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
N/A
Test:
Go to expensify.com > Go to Expenses > Create an unreported expense (report is set to none).
Log in to the New Dot with the same account > Go to self DM.
Click on the expense created on Old Dot.
Click on the report header. > Click on any tracking option.
Verify that: The tracking options should open the respective page.
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 Jan 1, 2025
Triggered auto assignment to @anmurali (
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.nkdengineer commentedon Jan 2, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Nothing happens when clicking on tracking options on unreported expense created on Old Dot.
What is the root cause of that problem?
When we create a track expense in OldDot, there's no whisper action
App/src/pages/ReportDetailsPage.tsx
Line 387 in 754817d
Then it returns early here because
reportActionIDis undefined.App/src/libs/ReportUtils.ts
Lines 8261 to 8263 in 754817d
What changes do you think we should make in order to solve the problem?
We should not return early here if
reportActionIDisundefined.App/src/libs/ReportUtils.ts
Lines 8261 to 8263 in 754817d
In
trackExpensefunction we should also not return early ifactionableWhisperReportActionIDisundefinedApp/src/libs/actions/IOU.ts
Lines 4057 to 4059 in 754817d
App/src/libs/actions/IOU.ts
Lines 4100 to 4102 in 754817d
We need to update the
actionableWhisperReportActionIDhere tostring | undefinedand do some cleanup ifactionableWhisperReportActionIDisundefined. I tested and it works well in the caseactionableWhisperReportActionIDisundefinedApp/src/libs/actions/IOU.ts
Line 138 in 754817d
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
We can return early here if
actionableWhisperReportActionIDisundefinedthen the track expense options aren't shown if we cannot do this.App/src/pages/ReportDetailsPage.tsx
Lines 386 to 387 in 754817d
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Jan 7, 2025
@anmurali Huh... This is 4 days overdue. Who can take care of this?
[-]Track - Nothing happens when clicking on tracking options on unreported expense created on OD[/-][+][$250] Track - Nothing happens when clicking on tracking options on unreported expense created on OD[/+]melvin-bot commentedon Jan 8, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021876819875579426435
melvin-bot commentedon Jan 8, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (
External)35 remaining items
allgandalf commentedon Feb 17, 2025
I'll update this tomorrow morning, finding the exact offending PR for this issue
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] 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: https://github.com/Expensify/App/pull/54247/files#r1961017146
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Verify that: The tracking options should open the respective page.
Do we agree 👍 or 👎
melvin-bot commentedon Feb 18, 2025
@francoisl, @anmurali, @allgandalf, @nkdengineer Eep! 4 days overdue now. Issues have feelings too...
allgandalf commentedon Feb 19, 2025
Updated the checklist @mallenexpensify , all yours 🙇
melvin-bot commentedon Feb 20, 2025
@francoisl, @anmurali, @allgandalf, @nkdengineer 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
allgandalf commentedon Feb 20, 2025
@anmurali can you pay this one since @mallenexpensify is OoO
allgandalf commentedon Feb 21, 2025
friendly bump @anmurali 😄
melvin-bot commentedon Feb 24, 2025
@francoisl, @anmurali, @allgandalf, @nkdengineer 10 days overdue. Is anyone even seeing these? Hello?
allgandalf commentedon Feb 24, 2025
asked for payment here
mallenexpensify commentedon Feb 26, 2025
Contributor: @nkdengineer paid $125 via Upwork
Contributor+: @allgandalf paid $125 via Upwork
Both the above where originally paid $250 then refunded $125.
Test case
Thanks @allgandalf and @nkdengineer , apologies for the delayed payment
mallenexpensify commentedon Feb 26, 2025
D'oh, just remembered there was a regression, cc @techievivek who pointed out here
#56307 (comment)
@nkdengineer and @allgandalf , I just requested a refund of $125, can you both please comment once you've OK'd the refund? Thx
nkdengineer commentedon Feb 27, 2025
@mallenexpensify Done from me!
mallenexpensify commentedon Feb 28, 2025
Refunds received from both @nkdengineer and @allgandalf . Thx!