-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-28] [$250] Expense - Report field is accessible by receiver in p2p expense and it opens blank page #60238
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
Comments
Triggered auto assignment to @madmax330 ( |
Triggered auto assignment to @jliexpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Job added to Upwork: https://www.upwork.com/jobs/~021912074972490831782 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Report field is accessible by receiver in p2p expense and it opens blank page What is the root cause of that problem?The issue here is that the “Report” field is clickable even for the receiver in a P2P expense, and it leads to a blank page — likely because the report?.reportID is invalid or inaccessible for that user. What changes do you think we should make in order to solve the problem?Only allow valid, authorized users (e.g. the sender) to click on the report field. Otherwise, the UI should either:
I think we should apply the following changes here, App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 804 to 824 in 9a7d420
Define canViewReport using the appropriate logic based on:
also, add:
Here, in MoneyRequestView in order to pull the What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)Absolute NONE 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. |
@jliexpensify Since this is a deploy blocker, I can a raise a quick PR. Also update my proposal accordingly if needed. Thank You |
Thank you @PiyushChandra17, but it will be fixed in my follow-up PR |
We'll put this button behind a beta and tackle the issue as a follow up. |
Can we move this one to a |
No longer available in staging. Demoting. |
@eVoloshchak Huh... This is 4 days overdue. Who can take care of this? |
Just a heads up that I am OOO until the 30th but will fix up any payments when I'm back. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.30-4 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 2025-04-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@eVoloshchak @jliexpensify @eVoloshchak The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.28-1
Reproducible in staging?: Yes
Reproducible in production?: Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Expected Result:
Report field should not be accessible for the receiver in p2p expense.
Actual Result:
Report field is accessible for the receiver in p2p expense and it opens blank page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6802363_1744692214234.20250415_124045.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jliexpensifyThe text was updated successfully, but these errors were encountered: