Skip to content
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

[HOLD for payment 2024-01-30] [HIGH] Workspace Chats: Submitting report offline causes errors in the report and red dot w/o error message in LHN #32289

Closed
6 tasks done
lanitochka17 opened this issue Nov 30, 2023 · 36 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering

Comments

@lanitochka17
Copy link

lanitochka17 commented Nov 30, 2023

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: 1.4.6.2
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:

Issue found when executing PR #32157

Action Performed:

Precondition:

  • User is an employee of a Collect workspace
  1. Log in to ND as the employee
  2. Go offline
  3. Go to the workspace chat > + > Request money
  4. Create a manual request with currency different than the workspace default currency
  5. Open expense report and submit the expense
  6. Return online

Expected Result:

The report will be submitted without issue when returning online

Actual Result:

Three issues show up

  1. The report submission message moves above the report chat view
  2. Submit button appears again when returning online
  3. In LHN, the expense report shows a red dot but there is no error message in the report. The red dot remains after clicking Submit button again

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

Bug6296270_1701364502503.20231130_234446.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @kadiealexander
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Nov 30, 2023
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.

Copy link

melvin-bot bot commented Nov 30, 2023

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

@jasperhuangg
Copy link
Contributor

jasperhuangg commented Nov 30, 2023

I'm inviting a user to a collect workspace as an employee and the workspace expense chat isn't showing up for the employee in the LHN or as an option to request money from. Is there a beta that I'm missing?

@jasperhuangg jasperhuangg added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Nov 30, 2023
@jasperhuangg
Copy link
Contributor

Clarified that this isn't a deploy blocker here

Reasoning is that it's behind a beta and we are still going to work on this so it should just be added to the wave6 project

@jasperhuangg
Copy link
Contributor

Assigning @mountiny since this was related to his PR

@mountiny
Copy link
Contributor

So this is a known limitation right now, we do not know the managerID on the open expense report when its created optimistically.

@mountiny
Copy link
Contributor

thats why the submission offline fails because we "did not submit to anyone". Was discussed in slack in previous days and we will have to pass down who we need to submit to as part of the Policy data

@mountiny
Copy link
Contributor

mountiny commented Dec 1, 2023

Discussin gin Slack, we will probably update the nedpoint to not require the manager Account Id as that is not needed for the submitter to know

@melvin-bot melvin-bot bot added the Overdue label Dec 4, 2023
@mountiny
Copy link
Contributor

mountiny commented Dec 4, 2023

On the list for this week

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 4, 2023
@mountiny
Copy link
Contributor

mountiny commented Dec 7, 2023

I will create a new SubmitExpenseReport command for this and that will not require passing the accountID

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 7, 2023
@mountiny
Copy link
Contributor

Continuing to work on this today

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

@mountiny Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Jan 30, 2024

Issue is ready for payment but no BZ is assigned. @michaelhaxhiu you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Jan 30, 2024

Payment Summary

Upwork Job

BugZero Checklist (@kadiealexander)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mountiny
Copy link
Contributor

$500 to @aimane-chnaif for review and testing

@mountiny mountiny removed the Monthly KSv2 label Jan 30, 2024
@greg-schroeder greg-schroeder changed the title [HOLD for payment 2024-01-30] [Wave 6: Workspace Chats] Expense - Submitting report offline causes errors in the report and red dot w/o error message in LHN [HOLD for payment 2024-01-30] [HIGH] Workspace Chats: Submitting report offline causes errors in the report and red dot w/o error message in LHN Jan 31, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 2, 2024
@kadiealexander
Copy link
Contributor

Please request your payment via NewDot @aimane-chnaif.

@aimane-chnaif
Copy link
Contributor

@kadiealexander I am yet using upwork. Can you please reopen?

@mountiny mountiny reopened this Feb 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 5, 2024
Copy link

melvin-bot bot commented Feb 5, 2024

@mountiny, @kadiealexander, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@kadiealexander
Copy link
Contributor

Ah sorry @aimane-chnaif I misunderstood. I've sent you a contract :)

@melvin-bot melvin-bot bot removed the Overdue label Feb 7, 2024
@kadiealexander
Copy link
Contributor

@aimane-chnaif please let me know when you've accepted the offer!

@aimane-chnaif
Copy link
Contributor

@kadiealexander accepted thanks

@melvin-bot melvin-bot bot added the Overdue label Feb 12, 2024
Copy link

melvin-bot bot commented Feb 12, 2024

@mountiny, @kadiealexander, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@kadiealexander
Copy link
Contributor

Paid!

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 Daily KSv2 Engineering
Projects
No open projects
Development

No branches or pull requests

7 participants