Skip to content
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-10-16] [$250] Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` #23909

Closed
1 of 6 tasks
hannojg opened this issue Jul 31, 2023 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@hannojg
Copy link
Contributor

hannojg commented Jul 31, 2023

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:

In this PR a change was added to fix several regressions, however it created a new regression with checkboxes in forms:

#22589

Expected Result:

There should be no console error

Actual Result:

A console error is showing when interacting with a checkbox wrapped in a Form:

256987402-a85e0060-abf7-44f2-8066-7fd1062f232b

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

It's an error only devs will see + it doesn't have any impact on the functionality of the app.

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.47-5
Reproducible in staging?:no (not deployed yet)
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: See in Actual result
Expensify/Expensify Issue URL:
Issue reported by: @dhairyasenjaliya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690578654439359?thread_ts=1690578654.439359&cid=C049HHMV9SM

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0140a93db1203e631c
  • Upwork Job ID: 1709884954347847680
  • Last Price Increase: 2023-10-05
@hannojg hannojg added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 31, 2023
@hannojg
Copy link
Contributor Author

hannojg commented Jul 31, 2023

PR for fixing it is up:

@sobitneupane
Copy link
Contributor

@hannojg Can you please add the reproduction steps? I was unable to reproduce the issue.

@Pujan92
Copy link
Contributor

Pujan92 commented Aug 1, 2023

@sobitneupane to reproduce you can do a fresh login and open any workspace bank account manual setup as reimbursementAccountDraft won't be there in the onyxDB at the moment which makes the warning in console.

@dhairyasenjaliya
Copy link
Contributor

The easiest way to reproduce this is just hard refresh the app (iOS), navigate to Add payment page, and then just select Debit card The console error should appear right on this page @sobitneupane

@sobitneupane
Copy link
Contributor

Thanks @Pujan92 and @dhairyasenjaliya.

@melvin-bot
Copy link

melvin-bot bot commented Aug 28, 2023

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@mountiny mountiny added External Added to denote the issue can be worked on by a contributor and removed Bug Something is broken. Auto assigns a BugZero manager. labels Oct 5, 2023
@melvin-bot melvin-bot bot changed the title Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` [$500] Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` Oct 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 5, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0140a93db1203e631c

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 5, 2023

Current assignee @sobitneupane is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Oct 9, 2023
@melvin-bot melvin-bot bot changed the title [$250] Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` [HOLD for payment 2023-10-16] [$250] Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` Oct 9, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.79-5 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-10-16. 🎊

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

For reference, here are some details about the assignees on this issue:

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

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:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
  • [@sobitneupane] 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:
  • [@sobitneupane] 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:
  • [@sobitneupane] Determine if we should create a regression test for this bug.
  • [@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 Daily KSv2 labels Oct 16, 2023
@trjExpensify
Copy link
Contributor

👋 @sobitneupane checklist time, thanks!

@melvin-bot melvin-bot bot added the Overdue label Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

@trjExpensify, @hannojg, @sobitneupane, @mountiny Huh... This is 4 days overdue. Who can take care of this?

@trjExpensify
Copy link
Contributor

Same, awaiting checklist.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 23, 2023
@sobitneupane
Copy link
Contributor

@trjExpensify Sorry for the delay. I was OOO. I will try to get it done in the weekend.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 27, 2023
@trjExpensify
Copy link
Contributor

Thanks, @sobitneupane. Did you get to it?

In the meantime, confirming payments we'll issue as follows:

@melvin-bot melvin-bot bot removed the Overdue label Oct 30, 2023
@sobitneupane
Copy link
Contributor

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:

  • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:

#22589

  • [@sobitneupane] 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:

Not Required.

  • [@sobitneupane] 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:

It should have been caught in PR review.

  • [@sobitneupane] Determine if we should create a regression test for this bug.

The issue is reproducible only in Dev. So, regression test is not required.

@trjExpensify
Copy link
Contributor

Thanks, @sobitneupane!

It should have been caught in PR review.

If that's the case, is there something in the reviewer checklist that could be improved such that it is caught?

@sobitneupane
Copy link
Contributor

The change was made in Form component which affects all the components using Form. And we already have a point in reviewer checklist to verify it.

If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App

@sobitneupane
Copy link
Contributor

#23909 (comment)

Requested payment on newDot.

@trjExpensify
Copy link
Contributor

@dhairyasenjaliya an offer has been sent to you.

@dhairyasenjaliya
Copy link
Contributor

accepted thnx @trjExpensify

@trjExpensify
Copy link
Contributor

Cool, paid. Closing!

@JmillsExpensify
Copy link

$250 payment approved for @sobitneupane based on this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants