-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-05-03] [$250] [Report fields] Hmm its not here page displayed when clicking on expense title #40464
Comments
Triggered auto assignment to @trjExpensify ( |
@trjExpensify 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 |
We think that this bug might be related to #wave-collect - Release 1 |
Hm, report fields aren't supported on |
Job added to Upwork: https://www.upwork.com/jobs/~01522b79f04da5c437 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cannot access Edit title page from report money request view. What is the root cause of that problem?We decide whether to show the App/src/pages/EditReportFieldPage.tsx Lines 58 to 65 in a96cc01
Over here we check for the value of App/src/pages/EditReportFieldPage.tsx Line 53 in a96cc01
For other field values like App/src/pages/EditReportFieldPage.tsx Line 52 in a96cc01
For Field key we use But for But during the time of assigning This should not happen because we do get the right data from Also, we shouldn't update the key on the What changes do you think we should make in order to solve the problem?We should not call const fieldKey = route.params.fieldID === CONST.REPORT_FIELD_TITLE_FIELD_ID ? route.params.fieldID : ReportUtils.getReportFieldKey(route.params.fieldID); Results:Screen.Recording.2024-04-18.at.9.55.05.PM.mov |
Yup that's correct - just the title is stored under text_title, all the other report field keys are stored under expensify_field_id. |
I guess the proposed solution does make sense to you @thienlnam :) |
Reviewing now. |
Thanks @GandalfGwaihir for the proposal. function getReportFieldKey(reportFieldId: string) {
if (reportFieldId === CONST.REPORT_FIELD_TITLE_FIELD_ID){
return reportFieldId;
}
return `expensify_${reportFieldId}`;
} @GandalfGwaihir's proposal LGTM. |
Current assignee @thienlnam is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Do we want to apply it globally? I’m not quite sure about it @ahmedGaber93 :) Maybe at some other place the format is different, but yeah i will check where else |
Yes, please do that, I just notice Also, I think the condition is safe as the fieldID |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @GandalfGwaihir 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Yeah, agree with fixing this globally so we don't have some places trying to call expensify_text_title as opposed to text_title. It's a unique report field |
PR would be up by EOD |
PR ready for review @ahmedGaber93 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.66-5 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-05-03. 🎊 For reference, here are some details about the assignees on 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:
|
@trjExpensify, @thienlnam, @ahmedGaber93, @GandalfGwaihir Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bump on the checklist, @ahmedGaber93! |
Regression Test Proposal:Preconditions: your account have beta 'reportFields'
|
Payment summary as follows:
As for the regression test, @thienlnam @caitlinwhite1 will you guys be adding a suite of these test cases for report field flows centrally as part of the project? Seems like this one here will end up doubling up. |
Good question, I don't think we've created a set of standard regression tests for this project yet. There's probably a few piece meal QA tests added for this, but would be a good idea to get some proper ones set up in testrail. @caitlinwhite1 Would you be able to get this set up? Happy to help if needed |
@thienlnam Yes! On it today. Thanks Jack |
Awesome, thanks! @ahmedGaber93 still waiting for you to accept the offer to pay this one out. |
@trjExpensify Offer accepted. |
Thanks. Paid, closing! |
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: 1.4.63-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: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Title edit page should open
Actual Result:
Hmm its not here error page displayed when clicking on expense title and nothing happens when click on Go back to home page button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6453375_1713429732872.Recording__2845.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: