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

[$500] [HOLD for payment 2024-03-26] [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time #38404

Closed
6 tasks done
lanitochka17 opened this issue Mar 15, 2024 · 21 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 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Mar 15, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.53-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

  • User is an admin of Collect workspace
  • The Collect workspace has several categories
  1. Go to staging.new.expensify.com
  2. Go to Profile > Workspaces > any workspace
  3. Go to Categories
  4. Check Select all checkbox
  5. Click on any category
  6. Click Category name
  7. Edit the name and save it

Expected Result:

App does not crash

Actual Result:

App crashes

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

Add any screenshot/video evidence

Bug6415046_1710514615236.20240315_224432.mp4

log.txt

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0197c3d60db95d1c51
  • Upwork Job ID: 1775479164031770624
  • Last Price Increase: 2024-04-03
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Mar 15, 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.

Copy link

melvin-bot bot commented Mar 15, 2024

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

@lanitochka17
Copy link
Author

@amyevans FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-control
CC @jason

@lanitochka17
Copy link
Author

Production:

bandicam.2024-03-15.17-47-23-854.mp4

@situchan
Copy link
Contributor

@FitseTLT are you able to reproduce on production? Looks like you pointed out PR which was deployed to production 2 weeks ago as offending one.

@c3024
Copy link
Contributor

c3024 commented Mar 15, 2024

EditCategoryPage was not deployed to production yet. So this cannot be reproduced on prod.

I think disabling editing of a category when it is selected is more appropriate or use a key other than category name that does not change when a category name is changed.

cc: @ArekChr @luacmartins

@amyevans
Copy link
Contributor

Looks like the ability to edit was introduced in #37969. @ArekChr @luacmartins is this featured behind a beta? Wondering if we can demote. And can I assign y'all to work on the fix?

@luacmartins
Copy link
Contributor

We can demote this since it's available only on isPolicyExpenseChatEnabled = true policies. I can take this on with @ArekChr

@luacmartins luacmartins assigned luacmartins and unassigned amyevans Mar 15, 2024
@luacmartins luacmartins added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Mar 15, 2024
@luacmartins luacmartins moved this to Release 1: Spring 2024 (May) in [#whatsnext] #wave-collect Mar 15, 2024
@luacmartins luacmartins changed the title Categories - App crashes when selecting categories and editing category name at the same time [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time Mar 15, 2024
@situchan
Copy link
Contributor

Upon checking the crash log, this looks to be the same root cause as #38379 (comment)

@luacmartins
Copy link
Contributor

Discussed this one internally and we actually wanna deselect all categories when we're editing one. PR up - #38416

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Mar 15, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Mar 19, 2024
@melvin-bot melvin-bot bot changed the title [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time [HOLD for payment 2024-03-26] [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 19, 2024
Copy link

melvin-bot bot commented Mar 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.54-4 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 2024-03-26. 🎊

@melvin-bot melvin-bot bot added the Overdue label Apr 1, 2024
@luacmartins
Copy link
Contributor

Gonna close this one since it was a regression from #38379 (comment) and no payment is due.

@melvin-bot melvin-bot bot removed Overdue labels Apr 1, 2024
@github-project-automation github-project-automation bot moved this from Release 1: Spring 2024 (May) to Done in [#whatsnext] #wave-collect Apr 1, 2024
@ishpaul777
Copy link
Contributor

ishpaul777 commented Apr 2, 2024

hii @luacmartins I reviewed the PR #38416 can you please repopen for payment 🙇

@luacmartins luacmartins reopened this Apr 2, 2024
@luacmartins luacmartins added the Bug Something is broken. Auto assigns a BugZero manager. label Apr 2, 2024
Copy link

melvin-bot bot commented Apr 2, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 2, 2024
@luacmartins
Copy link
Contributor

Oh sorry, missed that one. Reopening to process payment

@miljakljajic miljakljajic added the External Added to denote the issue can be worked on by a contributor label Apr 3, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-03-26] [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time [$500] [HOLD for payment 2024-03-26] [Simplified Collect][Categories] - App crashes when selecting categories and editing category name at the same time Apr 3, 2024
Copy link

melvin-bot bot commented Apr 3, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0197c3d60db95d1c51

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 3, 2024
Copy link

melvin-bot bot commented Apr 3, 2024

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

@miljakljajic
Copy link
Contributor

@ishpaul777 please accept the upwork offer!

@miljakljajic miljakljajic removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 3, 2024
@miljakljajic
Copy link
Contributor

paid!

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 Engineering External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Archived in project
Development

No branches or pull requests

7 participants