Skip to content

[HOLD for payment 2025-02-26] [$250] Expense report -"Required" Error Not Triggered for Auto-Filled Report Field on Second Expense Submission #47251

Closed

Description

@IuliiaHerets

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: v9.0.19-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): abebemiherat@gmail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to FAB > Workspace.
  2. Navigate to Workspace Settings > More Features > Enable Report Field.
  3. In Report Field, add a field, name it, choose a type, and save.
  4. Go to Workspace Chat > Click the plus sign > Submit Expense > Add amount, merchant, and submit.
  5. In Expense report, fill in the Report Field > Notice that the error triggers > Go back to the workspace chat, click Submit, and select Pay Elsewhere.
  6. Submit a second expense by repeating Step 4 > Go to Expense report > Notice that the Report Field is auto-filled, but the error does trigger.

Expected Result:

The "Required" error message should not appear if the Report Field in the second expense is auto-filled with information from the first expense.

Actual Result:

The "Required" error message does not trigger for the Report Field on the second submitted expense when auto-filled.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6570023_1723474162914.Screen_Recording_2024-08-12_at_7.20.21_AM.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0185bccf1e3226865f
  • Upwork Job ID: 1823114245300473767
  • Last Price Increase: 2024-09-02
  • Automatic offers:
    • dukenv0307 | Reviewer | 103834642
    • nkdengineer | Contributor | 103834644
Issue OwnerCurrent Issue Owner: @VictoriaExpensify

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Aug 12, 2024
  2. melvin-bot commented on Aug 12, 2024

    @melvin-bot

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

  3. melvin-bot commented on Aug 12, 2024

    @melvin-bot

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

  4. github-actions commented on Aug 12, 2024

    @github-actions
    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.
  5. IuliiaHerets commented on Aug 12, 2024

    @IuliiaHerets
    Author

    We think that this bug might be related to #vip-vsb

  6. VictoriaExpensify commented on Aug 12, 2024

    @VictoriaExpensify
    Contributor

    Agree this is an issue and we should fix it.

  7. added
    External
    on Aug 12, 2024
  8. 99 remaining items

  9. added
    Awaiting Payment
    Daily
    and removed
    Daily
    on Feb 25, 2025
  10. changed the title [-][$250] Expense report -"Required" Error Not Triggered for Auto-Filled Report Field on Second Expense Submission[/-] [+][HOLD for payment 2025-02-26] [$250] Expense report -"Required" Error Not Triggered for Auto-Filled Report Field on Second Expense Submission[/+] on Feb 25, 2025
  11. mountiny commented on Feb 25, 2025

    @mountiny
    Contributor

    @nkdengineer can you add the checklist please?

  12. nkdengineer commented on Feb 25, 2025

    @nkdengineer
    Contributor

    @dukenv0307 Can you help to fill it?

  13. dukenv0307 commented on Feb 26, 2025

    @dukenv0307
    Contributor

    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: This require both FE and BE change

    • [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
    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Test:

    1. Go to FAB > Workspace.
    2. Navigate to Workspace Settings > More Features > Enable Report Field.
    3. In Report Field, add a field, name it, choose a type, and save.
    4. Go to Workspace Chat > Click the plus sign > Submit Expense > Add amount, merchant, and submit.
    5. In Expense report, fill in the Report Field > Go back to the workspace chat, click Submit, and select Pay Elsewhere.
    6. Submit a second expense by repeating Step 4 > Go to Expense report
    7. Verify that: Report violation isn't displayed

    Do we agree 👍 or 👎

  14. mountiny commented on Mar 3, 2025

    @mountiny
    Contributor

    I dont think we need a specific test for this

  15. VictoriaExpensify commented on Mar 3, 2025

    @VictoriaExpensify
    Contributor

    Payment summary:
    C: @nkdengineer paid $250 via Upwork
    C+: @dukenv0307 paid $250 via Upwork

    Thanks for getting this one finished up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions