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 for payment 2023-09-04] Security - notFound.goBackHome message appears after disabling 2FA authentication #25674
Go to Settings > Security > Two-factor authentication.
Tap Disable two-factor authentication.
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?
Android / native
Android / Chrome
iOS / native
iOS / Safari
Windows / Chrome
MacOS / Desktop
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:
👋 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:
Identify the pull request that introduced this issue and revert it.
The real issue here is that here, we're specifying a default link of value notFound.goBackHome but we're never translating it. We should change the above mentioned line to:
@narefyev91@allroundexperts how about passing plain linkKey from FullPageNotFoundView and apply single translation directly in the BlockingView as that is the component that we are using eventually #25674 (comment)?
@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.
@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.
changed the title [-]Security - notFound.goBackHome message appears after disabling 2FA authentication[/-][+][HOLD for payment 2023-09-04] Security - notFound.goBackHome message appears after disabling 2FA authentication[/+]on Aug 28, 2023
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
Activity
OSBotify commentedon Aug 22, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Aug 22, 2023
Triggered auto assignment to @Julesssss (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.aimane-chnaif commentedon Aug 22, 2023
Regression from #25164
allroundexperts commentedon Aug 22, 2023
I think this is not a regression. The above mentioned PR just made this visible.
allroundexperts commentedon Aug 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
notFound.goBackHomeis not translated.What is the root cause of that problem?
The real issue here is that here, we're specifying a default link of value
notFound.goBackHomebut we're never translating itWhat 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
linkasoriginalLinkand add the following line:What alternative solutions did you explore? (Optional)
None
narefyev91 commentedon Aug 22, 2023
Agree with @allroundexperts
Pujan92 commentedon Aug 22, 2023
Proposal
Please 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
FullPageNotFoundViewby passing only key and apply translation only in theBlockingViewApp/src/components/BlockingViews/FullPageNotFoundView.js
Line 72 in 494847a
daordonez11 commentedon Aug 22, 2023
This was fixed in #25516 I agree with @allroundexperts it's better to fix in case the default link is used.
Pujan92 commentedon Aug 22, 2023
@narefyev91 @allroundexperts how about passing plain linkKey from
FullPageNotFoundViewand apply single translation directly in theBlockingViewas that is the component that we are using eventually #25674 (comment)?21 remaining items
allroundexperts commentedon Aug 22, 2023
It's not. But we can make it so by changing the defaultProp of link to
''and using the following inside the component:Updated proposal.
mountiny commentedon Aug 22, 2023
@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.
narefyev91 commentedon Aug 22, 2023
No worries at all!
mountiny commentedon Aug 22, 2023
@Pujan92 We will still merge the fix
allroundexperts commentedon Aug 22, 2023
All good @mountiny!
mountiny commentedon Aug 23, 2023
Fixed on staging
[-]Security - notFound.goBackHome message appears after disabling 2FA authentication[/-][+][HOLD for payment 2023-09-04] Security - notFound.goBackHome message appears after disabling 2FA authentication[/+]melvin-bot commentedon Aug 28, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 28, 2023
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: