Skip to content

Thread - 'From..' link in thread header redirects to IOU report page #66205

Closed

Description

@nlemma

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.1.80-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6490215&group_by=cases:section_id&group_order=asc&group_id=291937
Email or phone of affected tester (no customers): ndk.2303+123@gmail.com
Issue reported by: Applause Internal Team
Device used: Android 16 / Pixel 7A/ Chrome
App Component: Chat Report View

Action Performed:

Preconditions:

  • Create 1 IOU report with atleast 2 expense in a 1-1 chat
  1. Open https://staging.new.expensify.com/
  2. Navigate to the 1-1 Chat
  3. Start a thread in the IOU preview
  4. Navigate to 1 of IOU detail page
  5. Send a message
  6. Start a thread on that message
  7. Click on the 'From...' link in thread header

Expected Result:

The 'From...' link in thread header should redirect user to the IOU details page.

Actual Result:

The 'From...' link in thread header redirects user to IOU report page instead of IOU details page, which is parent conversation of the threaded message.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6887979_1752538864539.Link_In_Thread_Header_Redirected_To_The_Iou_Report_Page_1_.mp4

View all open jobs on GitHub

Activity

  1. added
    Daily
    Bug
    on Jul 15, 2025
  2. melvin-bot commented on Jul 15, 2025

    @melvin-bot

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

  3. samranahm commented on Jul 15, 2025

    @samranahm
    Contributor

    Proposal

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

    Thread - 'From..' link in thread header redirects to IOU report page

    What is the root cause of that problem?

    When we press From link in report header we always navigate to parentReportID of report even if we are on transection thread report message, and parentReport type is chat here

    <ParentNavigationSubtitle
    parentNavigationSubtitleData={parentNavigationSubtitleData}
    parentReportID={reportHeaderData?.parentReportID}

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

    We should explicitly pass reportID for chat parentReport type so that we return to corresponding parent report details page when press From link in header here

    <ParentNavigationSubtitle
    parentNavigationSubtitleData={parentNavigationSubtitleData}
    parentReportID={reportHeaderData?.parentReportID}

    parentReportID={parentReport?.type === CONST.REPORT.TYPE.CHAT ? reportHeaderData?.reportID : reportHeaderData?.parentReportID}

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

    Results

    2025-07-16.at.3.12.40.-.Teal.Constrictor.mp4
  4. dmkt9 commented on Jul 16, 2025

    @dmkt9
    Contributor

    Will be fixed by #64400

  5. flaviadefaria commented on Jul 17, 2025

    @flaviadefaria
    Contributor

    Thank you @dmkt9, I'll leave this open until that PR is deployed to confirm it's been fixed.

  6. added
    Weekly
    and removed
    Daily
    on Jul 17, 2025
  7. flaviadefaria commented on Jul 28, 2025

    @flaviadefaria
    Contributor

    Still waiting for the linked PR to be deployed.

  8. samranahm commented on Jul 28, 2025

    @samranahm
    Contributor

    I just tested on latest main, It has been resolved. let's wait for linked PR to deployed, and we should test again before closing.

  9. melvin-bot commented on Jul 29, 2025

    @melvin-bot

    @flaviadefaria this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  10. samranahm commented on Aug 7, 2025

    @samranahm
    Contributor

    @flaviadefariaI just tested again and It's fixed, we can close this one.

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

Metadata

Metadata

Assignees

Labels

BugWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions