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 - E/App #70507] [$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request #70464
Version Number: v9.2.13-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://test-management.browserstack.com/projects/2219752/test-runs/TR-780/folder/13176933/41237710/891996304?sort=%2Bidentifier Email or phone of affected tester (no customers): n/a Issue reported by: Applause Internal Team Device used: Mac 15.4.1 Safari, Desktop, iPhone 13 iOS 18.6 Safari, HYbrid App Component: Left Hand Navigation (LHN)
Please re-state the problem that we are trying to solve in this issue.
The RBR shows again after submitting manually entered expense.
What is the root cause of that problem?
When we edit the amount, the BE already sends a receiptNotSmartScanned violation. However, the violation message (Receipt and expense details added manually.) is only shown if the user is not the submitter.
changed the title [-]Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/-][+][$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/+]on Sep 15, 2025
changed the title [-][$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/-][+][HOLD - E/App #70507] [$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/+]on Sep 17, 2025
Activity
melvin-bot commentedon Sep 12, 2025
Triggered auto assignment to @alexpensify (
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.bernhardoj commentedon Sep 13, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The RBR shows again after submitting manually entered expense.
What is the root cause of that problem?
When we edit the amount, the BE already sends a receiptNotSmartScanned violation. However, the violation message (Receipt and expense details added manually.) is only shown if the user is not the submitter.
App/src/libs/TransactionUtils/index.ts
Lines 1070 to 1072 in 3938e13
That's why we can't see it, but the RBR still show because it doesn't check whether the violation is shown or not.
App/src/libs/ReportUtils.ts
Lines 8210 to 8220 in 3938e13
What changes do you think we should make in order to solve the problem?
We need to check for
shouldShowViolationinhasNoticeTypeViolation(and other violation type).App/src/libs/TransactionUtils/index.ts
Lines 1281 to 1297 in 3938e13
report and policy will be a new param.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We can test hasNoticeTypeViolation (and others) to make sure it returns false when shouldShowViolation is false even though the violation exist.
melvin-bot commentedon Sep 15, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021967441467761781932
[-]Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/-][+][$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/+]melvin-bot commentedon Sep 15, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (
External)alexpensify commentedon Sep 15, 2025
@jayeshmangwani - When you get a chance, please review if this proposal will fix the issue? Thanks!
jayeshmangwani commentedon Sep 15, 2025
@bernhardoj 's proposal #70464 (comment) works well for hiding the resolved violations, let’s go with the fix.
🎀 👀 🎀 C+ reviewed
4 remaining items
[-][$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/-][+][HOLD - E/App #70507] [$250] Scan - The error reappears on the WS chat on the LHN after submitting a scan request[/+]roryabraham commentedon Sep 26, 2025
Still on HOLD
roryabraham commentedon Oct 2, 2025
Still on HOLD
alexpensify commentedon Oct 7, 2025
Weekly Update: On Hold
roryabraham commentedon Oct 14, 2025
#70507 is on prod. Requested retest
m-natarajan commentedon Oct 15, 2025
The issue is no longer reproducible on Windows 11, Chrome and mWeb, Chrome, Build: v9.2.31-0
az_recorder_20251014_211949.mp4
explorer_lVnkgbZnEY.mp4