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
[$1000] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page #19228
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Scroll down and click on either login or create a new account link.
Expected Result:
This should cause no error in the console.
Actual Result:
An error is displayed in the console when the login button or the account creation link is clicked.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.16.3 Reproducible in staging?: y Reproducible in production?: y 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
Please re-state the problem that we are trying to solve in this issue.
Error in console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page.
What is the root cause of that problem?
in Hoverable component There is no null check here for this.wrapperView which it may be null between re-render.
We use Hoverable in SignInPageLayout > surround the footer links.
changed the title [-] Error in console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page.[/-][+] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/+]on May 22, 2023
changed the title [-] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/-][+][$1000] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/+]on May 22, 2023
Good discussion @dangrous - it looks like we will pay this one.
It looks like the other PR is still ongoing - so maybe let's pay once it's actually deployed to prod and properly tested? @mollfpr and @ahmedGaber93 , can you test this and share an update? Thanks!
@mollfpr and @ahmedGaber93 - after discussing it with the team, @dangrous and I will pay 50% (i.e. $500), since this was resolved with the other PR. Sound good?
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review
Activity
melvin-bot commentedon May 18, 2023
Triggered auto assignment to @jliexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon May 18, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)ahmedGaber93 commentedon May 18, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Error in console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page.
What is the root cause of that problem?
in Hoverable component There is no null check here for
this.wrapperViewwhich it may be null between re-render.We use Hoverable in SignInPageLayout > surround the footer links.
App/src/components/Hoverable/index.js
Lines 100 to 105 in 2090c05
App/src/components/Hoverable/index.js
Lines 83 to 91 in 2090c05
What changes do you think we should make in order to solve the problem?
add null check for this.wrapperView in onBlur statment.
What alternative solutions did you explore? (Optional)
jliexpensify commentedon May 18, 2023
Commented here: https://expensify.slack.com/archives/C049HHMV9SM/p1684453691932129?thread_ts=1684258502.046179&cid=C049HHMV9SM
jliexpensify commentedon May 22, 2023
Getting a second opinion from the team here - https://expensify.slack.com/archives/C01SKUP7QR0/p1684725923013839
UPDATE: Moving to external based off this post - https://expensify.slack.com/archives/C01SKUP7QR0/p1684424938812639
[-] Error in console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page.[/-][+] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/+][-] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/-][+][$1000] Error in JS console when pressing the "Login" button or the "Create a New Account" link in the footer of Magic Code page[/+]melvin-bot commentedon May 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01a33b3f9d19c242e2
melvin-bot commentedon May 22, 2023
Current assignee @jliexpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon May 22, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (
External)15 remaining items
ahmedGaber93 commentedon May 23, 2023
@mollfpr PR is ready for review.
jliexpensify commentedon May 23, 2023
@mollfpr - all good, we can keep these JS issues at $1000 for consistency's sake.
mollfpr commentedon May 25, 2023
@dangrous @jliexpensify This issue is solved at https://github.com/Expensify/App/pull/16052 that refactored the Hoverable component because delete this line https://github.com/Expensify/App/blob/7ad2be02a9e7c9dc19e8a6556d3c8efde5ba5721/src/components/Hoverable/index.js#LL101C17-L101C17 where the issue from. What's the action in this situation?
dangrous commentedon May 25, 2023
Huh, good question. I will start a discussion!
jliexpensify commentedon May 27, 2023
Good discussion @dangrous - it looks like we will pay this one.
It looks like the other PR is still ongoing - so maybe let's pay once it's actually deployed to prod and properly tested? @mollfpr and @ahmedGaber93 , can you test this and share an update? Thanks!
ahmedGaber93 commentedon May 28, 2023
@jliexpensify
https://github.com/Expensify/App/assets/41129870/f2f7724f-586d-46b6-b3e2-93f15f1ab7d5
jliexpensify commentedon May 30, 2023
Thanks for checking!
@mollfpr and @ahmedGaber93 - after discussing it with the team, @dangrous and I will pay 50% (i.e. $500), since this was resolved with the other PR. Sound good?
mollfpr commentedon May 31, 2023
@jliexpensify sounds good to me!
jliexpensify commentedon May 31, 2023
@ahmedGaber93 what's your Upworks profile? Cheers
ahmedGaber93 commentedon May 31, 2023
@jliexpensify sounds good to me, too.
ahmedGaber93 commentedon May 31, 2023
@jliexpensify https://www.upwork.com/freelancers/~012883934e2c4dc4e7
jliexpensify commentedon May 31, 2023
Cheers, invites sent - will pay once accepted.
jliexpensify commentedon May 31, 2023
Paid, and job closed - thanks everyone!