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

Report fields - App crashes when disabling/enabling list values via checkbox & dropdown button #47230

Closed
4 of 6 tasks
izarutskaya opened this issue Aug 12, 2024 · 23 comments
Closed
4 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@izarutskaya
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v9.0.19-0
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : #46938
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-internal team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Report fields
  3. Click Add field
  4. Select List from Type
  5. Go to List values and add a few list values
  6. Long press on the list value > Select.
  7. Tap on the dropdown.
  8. Tap Disable.

Expected Result:

App will not crash.

Actual Result:

App crashes when disabling/enabling list values via checkbox and dropdown button.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6569740_1723463950805.ScreenRecording_08-12-2024_19-53-26_1.1.mp4

Bug6569740_1723464002972!staging.new.expensify.com-1723463652050.txt

View all open jobs on GitHub

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

Triggered auto assignment to @carlosmiceli (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Aug 12, 2024

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 12, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

We think this issue might be related to the #wave-control.

@izarutskaya
Copy link
Author

Production

Screen_Recording_20240812_154622_New.Expensify.mp4

@mountiny
Copy link
Contributor

cc @nkdengineer @jasperhuangg @jjcoffee from the linked PR

@carlosmiceli carlosmiceli removed the DeployBlocker Indicates it should block deploying the API label Aug 12, 2024
@nkdengineer
Copy link
Contributor

Checking this now.

@nkdengineer
Copy link
Contributor

@mountiny This comes from this PR. When we disable all values, the options becomes an empty array. Then the App crashes here

const selectedItem = options[selectedItemIndex] || options[0];

@mountiny
Copy link
Contributor

@Krishna2323 @mananjadhav are you able to handle this?

@Krishna2323
Copy link
Contributor

Checking...

@Krishna2323
Copy link
Contributor

Confirmed it is coming from my PR, trying to find a solution and will raise PR asap.

@carlosmiceli
Copy link
Contributor

@Krishna2323 great!

@mountiny do you wanna take over this one since you have more context and already engaged in the conversation?

@Beamanator
Copy link
Contributor

Taking over to move deploy forward :D

@Beamanator
Copy link
Contributor

@allroundexperts will be reviewing @Krishna2323 's PR - #47244

@Beamanator Beamanator added Hourly KSv2 and removed Weekly KSv2 labels Aug 13, 2024
@Beamanator
Copy link
Contributor

PR merged, working on CP

@Beamanator
Copy link
Contributor

CP'd, asking for test on staging

@Beamanator Beamanator added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 13, 2024
@Beamanator
Copy link
Contributor

Working well on staging!

@Beamanator Beamanator removed the Reviewing Has a PR in review label Aug 13, 2024
@mountiny
Copy link
Contributor

Thanks everyone 🙇

@melvin-bot melvin-bot bot added the Overdue label Aug 15, 2024
Copy link

melvin-bot bot commented Aug 16, 2024

@Beamanator, @twisterdotcom, @allroundexperts, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@Beamanator
Copy link
Contributor

@twisterdotcom i believe @allroundexperts needs payment for C+ for #47244 - but maybe only once the fix has been on prod for a week?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 16, 2024
@twisterdotcom
Copy link
Contributor

I think it has now been on prod for a week? Deploy was on the 12th: #47219

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@twisterdotcom
Copy link
Contributor

Payment Summary:

@JmillsExpensify
Copy link

$250 approved for @allroundexperts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

9 participants