-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-09-04] Security - notFound.goBackHome message appears after disabling 2FA authentication #25674
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Julesssss ( |
Regression from #25164 |
I think this is not a regression. The above mentioned PR just made this visible. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?The real issue here is that here, we're specifying a default link of value What changes do you think we should make in order to solve the problem?We should change this line to:
Inside the component, we can destructure
What alternative solutions did you explore? (Optional)None |
Agree with @allroundexperts |
ProposalPlease re-state the problem that we are trying to solve in this issue.Default link not gets trnaslated What is the root cause of that problem?When we pass shouldShowLink and default link is not we are translating that is the issue. What changes do you think we should make in order to solve the problem?Remove translation from
|
This was fixed in #25516 I agree with @allroundexperts it's better to fix in case the default link is used. |
@narefyev91 @allroundexperts how about passing plain linkKey from |
@allroundexperts are you able to work on this right now? |
@allroundexperts's proposal doesn't work. It will crash |
Yes @mountiny I can create a PR now. |
@aimane-chnaif The proposal was more of a general approach. I wasn't able to test it completely because of the short time. I'll test it in the PR. |
We should either use |
Huh |
Can I rewrite the same proposal again @aimane-chnaif |
I think this also won't work bcoz in some cases we are passing already translated links from |
Just change the link there |
My proposal seems to work fine. @aimane-chnaif What issue did you saw? Tested it with |
Is it dynamic? when change language on another device? |
Alright so I have created pr to fix the issue with the linkKey but also this is irrelevant now as we are not showing the link because of this #25516 |
We dont need the link so I will CP this #25516 to staging to fix this issue |
Bruh |
I think we should still fix this by either translating the default link or by removing the default link altogether. |
Yes
Yes |
It's not. But we can make it so by changing the defaultProp of link to
Updated proposal. |
@allroundexperts @shubham1206agra @aimane-chnaif @narefyev91 @daordonez11 Thanks for help here, really appreciate it. Deploy blockers are the highest urgency work you can focus on and because of that I have also taken over and created the PR myself. I understand you would prefer to land a job to get paid for here but we need to put the quick work here over that. I hope you can still help us with the most urgent tasks as it benefits the entire company which means more work for the community. |
No worries at all! |
@Pujan92 We will still merge the fix |
All good @mountiny! |
Fixed on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.57-6 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 2023-09-04. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #23060
Action Performed:
Precondition: Have 2FA set up.
Expected Result:
There is no error message
Actual Result:
notFound.goBackHome message appears after disabling 2FA authentication
This error message also appears in different page in apps, like the map in Distance tab when going offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.56-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6173011_Screen_Recording_20230822_102533_New_Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: