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 2022-12-20] DEV: Add Debit Card Page Console Error Of Invalid Props Type #13068
Version Number: 1.2.31-8 Reproducible in staging?: Need reproduction Reproducible in production?: Need reproduction Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve 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:
[@luacmartins] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: I was the author.
[@luacmartins] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A the checklist already has a check for this
[@slafortune] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
@mallenexpensify I don't think regression tests are needed in this case. This is a prop-types console warning and only happens in dev, since they are removed from the staging/prod Apps. QA wouldn't be able to test this anyways.
Activity
melvin-bot commentedon Nov 27, 2022
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.syedsaroshfarrukhdot commentedon Nov 27, 2022
Proposal
It is straight forward fix we are using setupComplete: PropTypes.boolean which is invalid
we need to change it to setupComplete: PropTypes.bool
App/src/pages/settings/Payments/AddDebitCardPage.js
Lines 25 to 32 in 39b2f99
After Fixing :-
Screen.Recording.2022-11-27.at.10.37.54.PM.mov
slafortune commentedon Nov 30, 2022
@syedsaroshfarrukhdot I wasn't able to reproduce this in production. On staging, I don't currently see the Debit Card option
Are you still able to reproduce this?
syedsaroshfarrukhdot commentedon Nov 30, 2022
@slafortune Yes, still able to reproduce it on version
1.2.34-1. I believe it is only dev warning of using invalid PropTypes.booleanScreen.Recording.2022-12-01.at.1.59.44.AM.mov
syedsaroshfarrukhdot commentedon Dec 4, 2022
@slafortune Were You Able To Reproduce On Development Build ?
luacmartins commentedon Dec 5, 2022
I'll work on this one since it's a simple fix.
15 remaining items
[-]DEV: Add Debit Card Page Console Error Of Invalid Props Type[/-][+][HOLD for payment 2022-12-20] DEV: Add Debit Card Page Console Error Of Invalid Props Type[/+]melvin-bot commentedon Dec 13, 2022
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.38-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 2022-12-20. 🎊
After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Dec 13, 2022
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:
michaelhaxhiu commentedon Dec 14, 2022
Can we make a note that @aneequeahmad is owed compensation for the bug reporting bonus?
slafortune commentedon Dec 14, 2022
Hey @aneequeahmad I just sent you an offer here - https://www.upwork.com/ab/applicants/1603156208534720512/offers
Let me know as soon as you can accept that 👍
aneequeahmad commentedon Dec 14, 2022
@slafortune I have accepted the offer. Thank you for mentioning
mallenexpensify commentedon Dec 24, 2022
It appears everyone has been paid, @slafortune you or I need to add a regression test then we can close
luacmartins commentedon Jan 9, 2023
@mallenexpensify I don't think regression tests are needed in this case. This is a prop-types console warning and only happens in dev, since they are removed from the staging/prod Apps. QA wouldn't be able to test this anyways.
It also seems like we are no longer accepting this kind of "bug" report - https://expensify.slack.com/archives/C02NK2DQWUX/p1673201417498099
I'm gonna close this issue. Please reopen if needed!