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 2024-12-11] [$250] Expense - Tag in A: B style is displayed as A\: B in expense preview #53248

Closed
4 of 8 tasks
IuliiaHerets opened this issue Nov 28, 2024 · 22 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 Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 28, 2024

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: 9.0.68-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Issue was found when executing this PR: #52758
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • Workspace has a tag in A: B format.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Submit an expense with tag in A: B format.
  4. Submit another expense if there is no expense.
  5. Go to expense report.

Expected Result:

Tag in A: B style will be displayed as A: B in expense preview.

Actual Result:

Tag in A: B style is displayed as A: B in expense preview.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6679171_1732805584882.20241128_225038.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021862164320724693300
  • Upwork Job ID: 1862164320724693300
  • Last Price Increase: 2024-11-28
Issue OwnerCurrent Issue Owner: @sonialiap
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

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

Copy link

melvin-bot bot commented Nov 28, 2024

Triggered auto assignment to @sonialiap (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.

Copy link

melvin-bot bot commented Nov 28, 2024

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 28, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 28, 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.

@etCoderDysto
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Expense - Tag in A: B style is displayed as A: B in expense preview

What is the root cause of that problem?

Here we are getting tag name that with A\: B format, and we are displaying it without removing \ using PolicyUtils.getCleanedTagName

What changes do you think we should make in order to solve the problem?

We should clean the tag using PolicyUtils.getCleanedTagName(tag)here

Or we can create a new variable tagName and clean the tag at the top of the function here

What alternative solutions did you explore? (Optional)

@mkzie2
Copy link
Contributor

mkzie2 commented Nov 28, 2024

@carlosmiceli Please assign me here, and I will raise a follow-up PR.

@carlosmiceli carlosmiceli added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Nov 28, 2024
@carlosmiceli carlosmiceli added the External Added to denote the issue can be worked on by a contributor label Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

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

@melvin-bot melvin-bot bot changed the title Expense - Tag in A: B style is displayed as A\: B in expense preview [$250] Expense - Tag in A: B style is displayed as A\: B in expense preview Nov 28, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 28, 2024
Copy link

melvin-bot bot commented Nov 28, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 (External)

@mkzie2 mkzie2 mentioned this issue Nov 28, 2024
50 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 28, 2024
@mkzie2
Copy link
Contributor

mkzie2 commented Nov 28, 2024

@dukenv0307 The PR is ready.

@dukenv0307
Copy link
Contributor

@mkzie2 Thanks for the quick PR, I'll review in a few hours

@dukenv0307
Copy link
Contributor

@mkzie2 Is it your regression or the new issue (related to the original one)? If it's the regression @sobitneupane should review it, otherwise I'll review since we made it external cc @carlosmiceli

@mkzie2
Copy link
Contributor

mkzie2 commented Dec 2, 2024

It's not a deploy blocker and it's external. I think you can start reviewing.

@dukenv0307
Copy link
Contributor

@mkzie2 Thanks, I'll take it

@mkzie2
Copy link
Contributor

mkzie2 commented Dec 2, 2024

This is a follow up from my previous PR. So no need payment for me here cc @sonialiap

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 4, 2024
@melvin-bot melvin-bot bot changed the title [$250] Expense - Tag in A: B style is displayed as A\: B in expense preview [HOLD for payment 2024-12-11] [$250] Expense - Tag in A: B style is displayed as A\: B in expense preview Dec 4, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

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

Copy link

melvin-bot bot commented Dec 4, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.70-9 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-12-11. 🎊

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

  • @dukenv0307 requires payment through NewDot Manual Requests
  • @mkzie2 requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Dec 4, 2024

@dukenv0307 @sonialiap @dukenv0307 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 10, 2024
Copy link

melvin-bot bot commented Dec 11, 2024

Payment Summary

Upwork Job

  • Reviewer: @dukenv0307 owed $250 via NewDot
  • ROLE: @mkzie2 paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@sonialiap)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1862164320724693300/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@dukenv0307
Copy link
Contributor

dukenv0307 commented Dec 11, 2024

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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: https://github.com/Expensify/App/pull/52758/files#r1879680408

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again. Yes

Regression Test Proposal Template

Regression Test Proposal

Test:

  • Precondition:

Workspace has a tag in A: B format.

  1. Open workspace chat.
  2. Submit an expense with tag in A: B format.
  3. Submit another expense if there is no expense.
  4. Go to the expense report.
  5. Verify that the tag display in the preview is A:B

Do we agree 👍 or 👎

@sonialiap
Copy link
Contributor

sonialiap commented Dec 11, 2024

Payment summary:

  • @dukenv0307 $250 via NewDot - thank you for being so prompt with the checklist!
  • @mkzie2 no payment since this is a follow up PR

@mkzie2
Copy link
Contributor

mkzie2 commented Dec 11, 2024

@sonialiap Based on this comment, no need a payment for me here.

@JmillsExpensify
Copy link

$250 approved for @dukenv0307

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 Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

7 participants