Skip to content

[HOLD for payment 2023-10-16] [$250] Regression: prop 'value' of type 'string' supplied to 'CheckboxWithLabel', expected 'boolean` #23909

Closed

Description

@hannojg

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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

Activity

  1. added
    Bug
    Daily
    on Jul 31, 2023
  2. melvin-bot commented on Jul 31, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jul 31, 2023

    @melvin-bot

    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
  4. added
    Reviewing
    Weekly
    and removed
    Daily
    on Jul 31, 2023
  5. hannojg commented on Jul 31, 2023

    @hannojg
    ContributorAuthor
  6. sobitneupane commented on Aug 1, 2023

    @sobitneupane
    Contributor

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

  7. Pujan92 commented on Aug 1, 2023

    @Pujan92
    Contributor

    @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.

  8. dhairyasenjaliya commented on Aug 2, 2023

    @dhairyasenjaliya
    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

  9. sobitneupane commented on Aug 2, 2023

    @sobitneupane
    Contributor
  10. removed their assignment
    on Aug 4, 2023
  11. 46 remaining items

  12. sobitneupane commented on Oct 27, 2023

    @sobitneupane
    Contributor

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

  13. trjExpensify commented on Oct 30, 2023

    @trjExpensify
    Contributor

    Thanks, @sobitneupane. Did you get to it?

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

  14. sobitneupane commented on Oct 30, 2023

    @sobitneupane
    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.

  15. trjExpensify commented on Oct 30, 2023

    @trjExpensify
    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?

  16. sobitneupane commented on Oct 30, 2023

    @sobitneupane
    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

  17. sobitneupane commented on Oct 30, 2023

    @sobitneupane
    Contributor

    #23909 (comment)

    Requested payment on newDot.

  18. trjExpensify commented on Oct 30, 2023

    @trjExpensify
    Contributor

    @dhairyasenjaliya an offer has been sent to you.

  19. dhairyasenjaliya commented on Oct 30, 2023

    @dhairyasenjaliya
    Contributor

    accepted thnx @trjExpensify

  20. trjExpensify commented on Oct 30, 2023

    @trjExpensify
    Contributor

    Cool, paid. Closing!

  21. JmillsExpensify commented on Nov 3, 2023

    @JmillsExpensify
    Contributor

    $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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions