Skip to content

Held expense - Header subtitle in system message thread opens not here page when holding fails #46673

Closed

Description

@lanitochka17

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: 9.0.15-5
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 A and B have no unsettled expense
  1. Go to staging.new.expensify.com
  2. [User A] Submit an expense to User B
  3. [User A] Click on the preview in the main chat to go to combined report
  4. [User A] Click on the report header > Hold
  5. [User A] Leave Hold RHP open
  6. [User B] Pay the expense
  7. [User A] Enter a reason to hold and save it
  8. [User A] Right click on "held this expense" system message > Reply in thread
  9. [User A] Click on the header subtitle

Expected Result:

App will redirect to the transaction thread when clicking on the header subtitle (production behavior)

Actual Result:

App opens not here page when clicking on the header subtitle

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

Bug6559349_1722527042381.20240801_233602.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    DeployBlockerIndicates it should block deploying the API
    on Aug 1, 2024
  2. melvin-bot commented on Aug 1, 2024

    @melvin-bot

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

  3. github-actions commented on Aug 1, 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.
  4. lanitochka17 commented on Aug 1, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #wave-collect - Release 1

  5. lanitochka17 commented on Aug 1, 2024

    @lanitochka17
    Author

    Production:

    Recording.2273.mp4
  6. Beamanator commented on Aug 1, 2024

    @Beamanator
    Contributor

    Logs - error:

    403 Transaction not accessible

  7. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    DeployBlockerIndicates it should block deploying the API
    on Aug 1, 2024
  8. Beamanator commented on Aug 1, 2024

    @Beamanator
    Contributor

    Marking this NAB b/c it's probably a pretty uncommon flow (marking a request as HOLD while it justtt got paid)

    cc @robertjchen just to make sure you agree this shouldn't be a blocker

  9. Beamanator commented on Aug 1, 2024

    @Beamanator
    Contributor

    I think we should figure out how to send the appropriate onyx data to the client which tried holding. OR we may actually not need to do anything in the front end, since "ideally" the onyx update from the other person (who paid the money request) should be on its way... What do you think @robertjchen ?

  10. melvin-bot commented on Aug 6, 2024

    @melvin-bot

    @Beamanator Eep! 4 days overdue now. Issues have feelings too...

  11. Beamanator commented on Aug 6, 2024

    @Beamanator
    Contributor

    Bump @robertjchen - maybe I'll assign you, hope you don't mind :D

  12. robertjchen commented on Aug 7, 2024

    @robertjchen
    Contributor

    Thanks, I can handle

  13. robertjchen commented on Aug 8, 2024

    @robertjchen
    Contributor

    Finally got a chance to look into this in detail. Yeah, this is definitely an interesting corner case 🤔.

    the onyx update from the other person (who paid the money request) should be on its way

    Yes, there's a bit of a delay with the pay/approve operations since those operations do a bit of work behind the scenes and opens up this gap of time when this could happen. The report being viewed by the holder is deleted/re-created with a new optimistic ID as part of the process...

    Maybe if the hold request fails, we can kick the user out of the report? 🤷 I'm leaning toward :donothing: for now- let's revisit if it becomes an issue during real-world usage?

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

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions