Skip to content

[Wave Collect] [Workflows] Authorized payer - Admin list is blank if Members tab is not visited before #38290

Closed

Description

@izarutskaya

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Found when validating PR : #38221

Version Number: 1.4.52-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Precondition:

  • User is an owner of Collect workspace.
  • There is at least another admin in the workspace.
  • Bank account is set up in "Make or track payments" and there is an authorized payer.
  • User has NOT visited Collect workspace member page (rlogin if visited).
  1. Go to staging.new.expensify.com.
  2. Go to Profile > Workspaces > Collect workspace.
  3. Go to Workflows (if it does not appear in side bar, go to More features to trigger it).
  4. Click Authorized payer under Make or track payments.
  5. Note that the list is empty.
  6. Go to Members tab.
  7. Return to Workflows > Authorized payer.

Expected Result:

In Step 4, the list of admins will show up in Authorized payer RHP.

Actual Result:

In Step 4, the list of admins does not show up in Authorized payer RHP.
It only shows up (Step 7) after members page is rendered in Step 6.
On production, the list shows up without visiting Members tab.

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

Bug6413044_1710384885994.bandicam_2024-03-14_10-42-21-436.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f3ab1c1e1a527e48
  • Upwork Job ID: 1768267208532287488
  • Last Price Increase: 2024-03-14

Activity

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

    @melvin-bot

    Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. github-actions commented on Mar 14, 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.
  4. melvin-bot commented on Mar 14, 2024

    @melvin-bot

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

  5. izarutskaya commented on Mar 14, 2024

    @izarutskaya
    Author

    @Beamanator I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  6. izarutskaya commented on Mar 14, 2024

    @izarutskaya
    Author

    We think that this bug might be related to #wave-control
    CC @jason

  7. 9 remaining items

  8. mountiny commented on Mar 14, 2024

    @mountiny
    Contributor

    This is not a blocker as these are new feature

    I think this needs to be internal because we need to load the policy members when the page is loaded

  9. ikevin127 commented on Mar 14, 2024

    @ikevin127
    Contributor

    Offending PR: #37629 - which is still within the regression period (deployed to production 17h ago, see #37629 (comment)).

    I think this needs to be internal because we need to load the policy members when the page is loaded

    I confirm and agree that we're missing the getWorkspaceMembers() call which we do call when loading the Members page -> reason why we see the list populated after visiting the Members page.

  10. luacmartins commented on Mar 14, 2024

    @luacmartins
    Contributor

    cc @lakchote seems like we also need to load the list of members in OpenPolicyWorkflowsPage

  11. luacmartins commented on Mar 14, 2024

    @luacmartins
    Contributor
  12. luacmartins commented on Mar 14, 2024

    @luacmartins
    Contributor

    I confirm and agree that we're missing the getWorkspaceMembers() call which we do call when loading the Members page -> reason why we see the list populated after visiting the Members page.

    I don't think this is the right solution since it'd make 2 API calls. The fix is in the backend.

  13. MitchExpensify commented on Mar 19, 2024

    @MitchExpensify
    Contributor

    Not overdue Melvin, @luacmartins is working on the backend fix here https://github.com/Expensify/Auth/pull/10212

  14. luacmartins commented on Mar 20, 2024

    @luacmartins
    Contributor

    PR in review!

  15. trjExpensify commented on Apr 2, 2024

    @trjExpensify
    Contributor

    Can we close this? The linked AuthPR hit prod last week.

  16. luacmartins commented on Apr 2, 2024

    @luacmartins
    Contributor

    Yea, good to close

  17. moved this from Release 1: Spring 2024 (May) to Done in [#whatsnext] #wave-collecton Apr 2, 2024
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.DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions