App
App copied to clipboard
The error when enter invalid debit card information still appear after reload the page reported by @hans
If you havenβt already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
- Navigate to Profile > Payment, click "Add payment method", choose "Debit card"
- Enter some random information and press "Save", you will see the error appear at the bottom, reload the page.
- Notice that the error still appear.
Expected Result:
Error text at the bottom should disappear after reload the page
Actual Result:
Error text at the bottom still appear after reload the page
Workaround:
unknown
Platform:
Where is this issue occurring?
- Web
Version Number: 1.2.27-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/201453294-396f1eba-a6ba-449d-8486-4a8647cb085a.mov
https://user-images.githubusercontent.com/43996225/201453301-a1ad84d3-32ba-4c80-b723-8629e23384c2.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hans
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668187065943279
Triggered auto assignment to @CortneyOfstad (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Proposal
We clear the error at componentWillUnmount but it doesn't get invoked on refresh https://github.com/Expensify/App/blob/0d653cad15c32150c302ac12dc0acdbca1ece18b/src/pages/settings/Payments/AddDebitCardPage.js#L58-L59
we need to add PaymentMethods.clearDebitCardFormErrorAndSubmit();
at constructor to fix this
Definitely appears to be an issue. Going to assign engineering to see if this needs to be Internal or External. Thinking External, but want a second pair of eyes to be sure.
Triggered auto assignment to @NikkiWines (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Looks like a good external issue! Applying the appropriate label
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External
)
Triggered auto assignment to @luacmartins (External
), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@Puneet-here's proposal looks good, but I don't have my mac right now so I haven't tested it. I will test this in the morning.
Hello there, I'm the reporter of this bug, can you assign me as well? Seem @kavimuru tagged the wrong person. Here's the slack thread (https://expensify.slack.com/archives/C049HHMV9SM/p1668187065943279). Should I change my slack name to the same with github name to avoid this?
π£ @Puneet-here You have been assigned to this job by @luacmartins! Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
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:
- [x] @CortneyOfstad A regression test has been added or updated so that the same bug will not reach production again. (asked in BugZero here) Link to the GH issue for creating the test here: No GH needed, as TestRail already has the step included
- [ ] @thesahindia @luacmartins The PR that introduced the bug has been identified. Link to the PR:
- [x] @CortneyOfstad 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. Appears the issue wasn't introduced via a PR
- [x] @CortneyOfstad A discussion in #contributor-plus 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. Not really a bug as this is more geared to a feature request.
- [x] @CortneyOfstad Payment has been made to the issue reporter (if applicable)
- [x] @CortneyOfstad Payment has been made to the contributor that fixed the issue (if applicable)
- [x] @CortneyOfstad Payment has been made to the contributor+ that helped on the issue (if applicable)
The PR that introduced the bug has been identified. Link to the PR:
Not applicable ? It was an edge case ( more of a feature request ) and it was missed in the refactor
Tackling my checklist today π
Can I have reporting bonus for this issue?
Will have this paid by EOD today π
Job posting β https://www.upwork.com/jobs/~018c9998e3f5f89303
@hungvu193 @thesahindia @Puneet-here β I've sent over the contracts. Once those are accepted, I will get that payment sent out by EOD today π
Thanks!
Payments have been sent! Thanks!
@CortneyOfstad, this is eligible for 50% bonus.
@Puneet-here Who is it eligible for? Sorry, this is my first time doing a payment.
For reviewer and contributor who fixed this issue.
It is written in this section
Sorry about that! @Puneet-here @thesahindia β I extended another contract for the bonus amount. I'll keep an eye on my email to see when you accept and I'll get that paid ASAP π
Accepted the offer, thanks!
Accepted, thanks!
Thank you!! Both have been paid for the bonus π
Let's close the issue.