Skip to content

[Due for payment 2025-04-25] [$250] Blank RHP displayed #59354

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

Closed
1 of 8 tasks
m-natarajan opened this issue Mar 31, 2025 · 22 comments
Closed
1 of 8 tasks

[Due for payment 2025-04-25] [$250] Blank RHP displayed #59354

m-natarajan opened this issue Mar 31, 2025 · 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 External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Mar 31, 2025

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.1.21-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dukenv0307
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Create a new workspace
  2. Go to route settings/workspaces/{policyID}/categories/imported
  3. Observe the RHP

Expected Result:

Page not found is displayed

Actual Result:

Blank RHP screen is displayed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence
bug.1.mov
Recording.1096.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021906709520063749780
  • Upwork Job ID: 1906709520063749780
  • Last Price Increase: 2025-03-31
Issue OwnerCurrent Issue Owner: @rayane-d
@m-natarajan m-natarajan added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlockerCash This issue or pull request should block deployment labels Mar 31, 2025
Copy link

melvin-bot bot commented Mar 31, 2025

Triggered auto assignment to @garrettmknight (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 Mar 31, 2025

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

Copy link

melvin-bot bot commented Mar 31, 2025

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Mar 31, 2025
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.

@m-natarajan m-natarajan removed the DeployBlockerCash This issue or pull request should block deployment label Mar 31, 2025
@m-natarajan
Copy link
Author

Proposal by @dukenv0307

Proposal

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

Blank screen is displayed

What is the root cause of that problem?

When we don't have spreadsheetColumns we return undefined

const spreadsheetColumns = spreadsheet?.data;
if (!spreadsheetColumns) {
return;
}

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

Show the not found page when we don't have spreadsheet

    const [spreadsheet, spreadsheetMetadata] = useOnyx(ONYXKEYS.IMPORTED_SPREADSHEET);
    ...
    if (hasAccountingConnections || (!spreadsheet && !isLoadingOnyxValue(spreadsheetMetadata))) {
        return <NotFoundPage />;
    }

We need to check the condition isLoadingOnyxValue(spreadsheetMetadata) to ensure that the not found page doesn't briefly appear at the beginning.

Note: We can check other import locations to see if having this problem.

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

None

What alternative solutions did you explore? (Optional)

We can show the loading page when isLoadingOnyxValue(spreadsheetMetadata) is true

@m-natarajan m-natarajan added Daily KSv2 and removed Engineering Hourly KSv2 labels Mar 31, 2025
@garrettmknight garrettmknight added the External Added to denote the issue can be worked on by a contributor label Mar 31, 2025
@melvin-bot melvin-bot bot changed the title Blank RHP displayed [$250] Blank RHP displayed Mar 31, 2025
Copy link

melvin-bot bot commented Mar 31, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 31, 2025
Copy link

melvin-bot bot commented Mar 31, 2025

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

@garrettmknight garrettmknight moved this to Bugs and Follow Up Issues in #expensify-bugs Mar 31, 2025
@grgia
Copy link
Contributor

grgia commented Mar 31, 2025

@dukenv0307 can you push a PR today?

@dukenv0307
Copy link
Contributor

@grgia yes

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 31, 2025
@melvin-bot melvin-bot bot added the Weekly KSv2 label Mar 31, 2025
Copy link

melvin-bot bot commented Apr 17, 2025

⚠️ 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.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 17, 2025
@melvin-bot melvin-bot bot changed the title [$250] Blank RHP displayed [Due for payment 2025-04-25] [$250] Blank RHP displayed Apr 18, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 18, 2025
Copy link

melvin-bot bot commented Apr 18, 2025

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

Copy link

melvin-bot bot commented Apr 18, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.29-10 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 2025-04-25. 🎊

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

  • @rayane-d requires payment through NewDot Manual Requests
  • @dukenv0307 requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented Apr 18, 2025

@rayane-d / @dukenv0307 @garrettmknight @rayane-d / @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 Apr 25, 2025
@garrettmknight
Copy link
Contributor

garrettmknight commented Apr 25, 2025

Payment Summary

@melvin-bot melvin-bot bot added the Overdue label Apr 28, 2025
@rayane-d
Copy link
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 (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. 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: Add CSV import flow to Categories page #47827 (comment)

  • [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.

  • [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

Precondition:

  • Create a new workspace

Test:

  1. Go to Settings > Workspaces
  2. Select the workspace
  3. Copy the ID of the workspace from the URL
  4. Add /categories/imported to the copied URL
  5. Visit the URL
  6. Verify that a not foud page is displayed instead of a blank page
  7. Go to workspace settings
  8. Go to member (or Per diem, Tags)
  9. Click 3-dot menu > Import spreadsheet.
  10. Click Upload.
  11. Select a file.
  12. Map the columns and click Import.
  13. Click on "Got it".
  14. Verify that the side panel is closed properly without briefly displaying a not found page.

Do we agree 👍 or 👎

@melvin-bot melvin-bot bot removed the Overdue label Apr 28, 2025
@JmillsExpensify
Copy link

Payment Summary

Copy link

melvin-bot bot commented May 2, 2025

@rayane-d Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label May 2, 2025
@garrettmknight
Copy link
Contributor

@rayane-d request when you're ready.

@github-project-automation github-project-automation bot moved this from Bugs and Follow Up Issues to Done in #expensify-bugs May 2, 2025
@melvin-bot melvin-bot bot removed the Overdue label May 2, 2025
@garrettmknight
Copy link
Contributor

Payment Summary

@JmillsExpensify
Copy link

$250 approved for @dukenv0307

@garrettmknight
Copy link
Contributor

$250 approved for @rayane-d

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 External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests

6 participants