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
[$250] Expense Report - The error message ‘Missing category’ is not loaded in the row preview. #63792
Version Number: v9.1.63-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:https://expensify.testrail.io/index.php?/tests/view/6226340 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Device used: All platforms App Component: Other
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)
NA
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 [-]Expense Report - The error message ‘Missing category’ is not loaded in the row preview.[/-][+][$250] Expense Report - The error message ‘Missing category’ is not loaded in the row preview.[/+]on Jun 18, 2025
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Activity
melvin-bot commentedon Jun 9, 2025
Triggered auto assignment to @flaviadefaria (
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.daledah commentedon Jun 9, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
'Missing category' is not displayed. (The user must reload the page, or take some action for the error to be displayed)
What is the root cause of that problem?
When moving expenses, currently there's no logics to add transaction violations to expenses moved from personal policy to a paid group policy
App/src/libs/actions/Transaction.ts
Line 600 in e563f9d
So the "Missing category" violation is not shown. We only get the violation after reopen the expense report returned from BE.
Note that "Missing merchant" does not depend on transaction violations but from FE calculations so it's shown.
App/src/components/TransactionItemRow/index.tsx
Lines 182 to 184 in e563f9d
What changes do you think we should make in order to solve the problem?
We should add transaction violation onyx data when moving expenses. Here's the implementation:
Get policy of target report after here:
App/src/libs/actions/Transaction.ts
Line 604 in e563f9d
Add onyx data after here
App/src/libs/actions/Transaction.ts
Line 650 in e563f9d
Screen.Recording.2025-06-10.at.04.00.21.mov
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)
NA
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 Jun 13, 2025
@flaviadefaria Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Jun 17, 2025
@flaviadefaria 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
[-]Expense Report - The error message ‘Missing category’ is not loaded in the row preview.[/-][+][$250] Expense Report - The error message ‘Missing category’ is not loaded in the row preview.[/+]melvin-bot commentedon Jun 18, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021935266968915352792
melvin-bot commentedon Jun 18, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (
External)11 remaining items
daledah commentedon Jun 24, 2025
@ikevin127 PR is ready.
ikevin127 commentedon Jul 1, 2025
cc @flaviadefaria
ikevin127 commentedon Jul 7, 2025
@flaviadefaria I will be requesting payment in ND, will most likely need a Payment summary here as per the comment above.
JmillsExpensify commentedon Jul 9, 2025
Payment summary:
garrettmknight commentedon Jul 9, 2025
Payment summary:
JmillsExpensify commentedon Jul 9, 2025
$250 approved for @ikevin127
melvin-bot commentedon Jul 17, 2025
This issue has not been updated in over 15 days. @carlosmiceli, @ikevin127, @flaviadefaria, @daledah eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
melvin-bot commentedon Sep 12, 2025
@carlosmiceli, @ikevin127, @flaviadefaria, @daledah, this Monthly task hasn't been acted upon in 6 weeks; closing.
If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.