Skip to content

[HOLD for payment 2023-12-06] [$500] Web - Login - App crashes when login to HT account #31803

Closed

Description

@kbecciv

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: 1.4.3.0
Reproducible in staging?: y
Reproducible in production?: n
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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Login with HT account - applausetester+mnchat1@applause.expensifail.com

Expected Result:

Verify the UI has a loading "skeleton" state (offline avatar and placeholder lines) and loads after a few moments and the loading state is not visible anymore

Actual Result:

App crashes

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

Bug6288979_1700775441466.Recording__256.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01eec53be34df7522e
  • Upwork Job ID: 1735048003260628992
  • Last Price Increase: 2023-12-13

Activity

  1. github-actions commented on Nov 23, 2023

    @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.
  2. melvin-bot commented on Nov 23, 2023

    @melvin-bot

    📣 @github-actions[bot]! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  3. melvin-bot commented on Nov 23, 2023

    @melvin-bot

    Triggered auto assignment to @aldo-expensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. situchan commented on Nov 23, 2023

    @situchan
    Contributor

    @kbecciv do you have any crash log or console error?

  5. luacmartins commented on Nov 23, 2023

    @luacmartins
    Contributor

    I suspect it might be coming from this PR - #31711. Gonna try to help @aldo-expensify reproduce this issue first

  6. luacmartins commented on Nov 23, 2023

    @luacmartins
    Contributor

    Hmm actually, I'm seeing the crash log below without a HT account

    Screenshot 2023-11-23 at 3 18 02 PM

  7. situchan commented on Nov 23, 2023

    @situchan
    Contributor

    Seems like what @quinthar reported here

  8. luacmartins commented on Nov 23, 2023

    @luacmartins
    Contributor

    Seems to come from this line

    const actorID = report.managerID || reportAction.actorAccountID;

  9. situchan commented on Nov 23, 2023

    @situchan
    Contributor

    #31061 is candidate

  10. luacmartins commented on Nov 23, 2023

    @luacmartins
    Contributor

    Yea, I'm trying to reproduce in dev

  11. aldo-expensify commented on Nov 23, 2023

    @aldo-expensify
    Contributor

    Seems to come from this line

    const actorID = report.managerID || reportAction.actorAccountID;

    For this to happen, we would need to fail to find the IOU here

    const lastIOUMoneyReport = _.find(
    allSortedReportActions[iouReport.reportID],
    (reportAction, key) =>
    ReportActionUtils.shouldReportActionBeVisible(reportAction, key) &&
    reportAction.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE &&
    ReportActionUtils.isMoneyRequestAction(reportAction),
    );

  12. 68 remaining items

  13. added
    InternalRequires API changes or must be handled by Expensify staff
    on Dec 13, 2023
  14. melvin-bot commented on Dec 13, 2023

    @melvin-bot
  15. melvin-bot commented on Dec 13, 2023

    @melvin-bot

    Current assignee @allroundexperts is eligible for the Internal assigner, not assigning anyone new.

  16. mallenexpensify commented on Dec 13, 2023

    @mallenexpensify
    Contributor

    Contributor+: @allroundexperts owed $500 via NewDot

  17. mallenexpensify commented on Dec 13, 2023

    @mallenexpensify
    Contributor

    @allroundexperts can you complete the BZ checklist? Thx

  18. allroundexperts commented on Dec 14, 2023

    @allroundexperts
    Contributor

    Checklist

    1. This bug was caused by fix: fix lhn previews #31061. The author is aware of this bug.
    2. N/A
    3. N/A
    4. I think a regression test is not needed here because this involved a crash after just logging in to an account. This should be already covered in prior test cases.
  19. JmillsExpensify commented on Dec 14, 2023

    @JmillsExpensify
    Contributor

    $500 payment approved for @allroundexperts based on summary above.

  20. melvin-bot commented on Dec 18, 2023

    @melvin-bot

    @allroundexperts, @muttmuure, @aldo-expensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  21. aldo-expensify commented on Dec 18, 2023

    @aldo-expensify
    Contributor

    @allroundexperts did you receive your payment?

  22. mallenexpensify commented on Dec 19, 2023

    @mallenexpensify
    Contributor

    This should all be wrapped up, so closing. Reply if you disagree!

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staff

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions