Skip to content

[$250] Onboarding -Not here page is displayed after navigating back from Workspace settings #51963

Closed

Description

@IuliiaHerets

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.0.57-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): htad26+fgfgfjhgf@gmail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Sign in to the app with a new Gmail account
  2. Choose "Manage my team's expense" from the onboarding tasks > Finish the flow
  3. After finishing the onboarding flow navigate to the concierge chat
  4. Click on "Set up categories" from the tasks
  5. Click on the "Take me to workspace category settings." link
  6. Once you are navigated to "categories" settings, click back from the workspace settings
  7. Then click on the inbox tab to navigate to LHN

Expected Result:

The onboarding task page in concierge opens

Actual Result:

"Hmm... it's not here" pages opens

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6654432_1730734638967.2024-11-04_18_36_05.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021853505694132276985
  • Upwork Job ID: 1853505694132276985
  • Last Price Increase: 2024-11-04
Issue OwnerCurrent Issue Owner: @akinwale

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 4, 2024
  2. melvin-bot commented on Nov 4, 2024

    @melvin-bot

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

  3. melvin-bot commented on Nov 4, 2024

    @melvin-bot

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

  4. melvin-bot commented on Nov 4, 2024

    @melvin-bot

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

  5. github-actions commented on Nov 4, 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.
  6. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    For some reason the reportIDs for the tasks created in the onboarding list doesn't exist

    Screenshot 2024-11-04 at 12 08 13 p m

    I'm still investigating

  7. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    We're getting the error "400 Unique Constraints Violation"

    Screenshot 2024-11-04 at 12 11 46 p m
  8. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    The difference between the staging/local and prod versions is that we're sending "completedTaskReportActionID":"-1" in the payload in the former. The payload is malformed, so it's a FE error. Assigning External label to get more 👀

  9. 6 remaining items

  10. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Ok, this is the offending PR #51722, completedTaskReportActionID are not sent to the BE when completedTaskReportActionID is undefined, otherwise cause the unique constraints violation error

  11. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Revert #51983

  12. DylanDylann commented on Nov 4, 2024

    @DylanDylann
    Contributor
  13. DylanDylann commented on Nov 4, 2024

    @DylanDylann
    Contributor

    I think we should fix this bug on BE to adopt new value

  14. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    I agree, but we should fix it before sending -1 from the FE, otherwise this bug will make it to production in the next App release.

  15. DylanDylann commented on Nov 4, 2024

    @DylanDylann
    Contributor

    But if we revert #51983 we will re-introduce the original issue. If this regression is more serious, I agree to revert

  16. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Hmm, that's true. Both bugs are serious because they are part of the onboarding process, and any new user will experience it. I will try to fix them in the BE, but probably the BE fix won't make it before the next App release.

    If I had to choose between the two bugs, I would lean forward to fixing this one because the current cohort will experience it vs someone looking to split and chat with friends

  17. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    What I found is that optimistic reportActionIDs should be 0 or any positive number. If it's 0, BE will create a new random reportActionID. For this issue, technically we shouldn't set the completedTaskReportActionID because it will mark the tasks as completed by default. For #51395, I think we'd need a backend fix

  18. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Created PR to fix #51395 in the BE. So we can continue with the revert #51983

  19. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor
  20. luckydaniel1993 commented on Nov 4, 2024

    @luckydaniel1993

    @marcochavezf I just found the problem and fixed it on frontend side.
    Let me post my proposal?

  21. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Oh I already reverted the offending PR @anaslancer

  22. marcochavezf commented on Nov 4, 2024

    @marcochavezf
    Contributor

    Tested the revert in staging and the bug is gone. Removing the deploy blocker label

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsHourlyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions