Skip to content

Expense - Incorrect avatar for pay preview and missing avatar & username after submitting expense #49889

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.41-2
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
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to DM
  3. Click + > Pay someone
  4. Enter amount > Pay the user
  5. Click + > Submit expense
  6. Submit expense to the user

Expected Result:

In Step 4, the report preview avatar for "paying preview" should display the sender avatar because the sender pays the money
In Step 6, when submitting expense after paying the user, the expense preview will have the sender avatar and sender name

Actual Result:

In Step 4, the report preview avatar for "paying preview" displays the receiver avatar instead of sender avatar
In Step 6, when submitting expense after paying the user, the expense preview is missing sender avatar and sender name briefly, then it appears

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

Bug6617940_1727476416029.20240928_062511.mp4

View all open jobs on GitHub

Activity

  1. melvin-bot commented on Sep 28, 2024

    @melvin-bot

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

  2. github-actions commented on Sep 28, 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.
  3. MonilBhavsar commented on Sep 30, 2024

    @MonilBhavsar
    Contributor

    @grgia @eh2077 this seems to be coming from #49172

    For pay requests, childOwnerAccountID is the payee and not the payer. Also, the report action is always ReportPreview.

  4. grgia commented on Sep 30, 2024

    @grgia
    Contributor

    Looking now

  5. self-assigned this
    on Sep 30, 2024
  6. grgia commented on Sep 30, 2024

    @grgia
    Contributor

    This seems to be a BE problem.

    Why are pay requests setting the childOwnerAccountID to the payee?

  7. melvin-bot commented on Sep 30, 2024

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  8. jasperhuangg commented on Sep 30, 2024

    @jasperhuangg
    Contributor

    We reverted the problematic PR #49945. Gonna remove the label but keep this open so @grgia can fix this in a followup.

  9. melvin-bot commented on Sep 30, 2024

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  10. MonilBhavsar commented on Oct 10, 2024

    @MonilBhavsar
    Contributor

    closing as PR was reverted and issue was fixed

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions