-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
QBD - Admin is not selected as default Preferred exporter after connecting to QBD #52134
Comments
Triggered auto assignment to @garrettmknight ( |
Edited by proposal-police: This proposal was edited at 2024-11-06 20:19:47 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue. QBD - Admin is not selected as default Preferred exporter after connecting to QBD What is the root cause of that problem? The main problem is that by default exporter is equal to an empty string And since in order to use the owner as a spare value exporter must be undefined or null (specifics of ?? operator)
Line 48 in e267aa6
What changes do you think we should make in order to solve the problem? To fix this bug we can replace ?? with || And I suppose we need to check QBO just in case What alternative solutions did you explore? (Optional) NA Additional
To fix this we can do an additional check for the current exporter and check if it is in the list of admins using the Or make a more complex solution and in case of connected integration and removal of admins from workspace we can make additional requests to save a preferred exporter as owner And we will also need to check the QBO (and possibly other integrations) |
Job added to Upwork: https://www.upwork.com/jobs/~021854584654634877527 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Hi @lakchote, I am concerned about whether it's a BE issue (like we should set |
@hoangzinh I don't think there is a problem at all. And I do agree that if there ever was, we should instead fix it in the backend and not the frontend. QBD integration backend logic hasn't changed regarding the preferred exporter and it works fine on OldDot. cc @francoisl for your input. |
Not overdue, see my comment above. |
Oh thanks for your hint @lakchote. I just compared it with OD. In OD if the "exporter" is empty, it will show the policy Owner as a default exporter. We can apply this logic in FE ND 👀 |
@hoangzinh thanks for testing it out in OldDot. I had trouble connecting to QBD this morning (Web connector screen stuck). Let's do @ZhenjaHorbach's solution then? It wouldn't be eligible for payment though, as @ZhenjaHorbach you were the one in charge of handling the feature in #50297 and it could be considered as a regression from OldDot. |
Yep, I think so. |
I will create a PR soon |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
hey @aldo-expensify. We already have @lakchote as an internal engineer here. |
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: 9.0.58-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5184323
Email or phone of affected tester (no customers): applausetester+dqbd7@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: Have a workspace connected to QBD
Expected Result:
Admin is selected as default Preferred exporter after connecting to QBD
Actual Result:
Admin(owner) is not selected as default Preferred exporter after connecting to QBD
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6656407_1730886082792.Screen_Recording_2024-11-06_at_12.33.31_in_the_afternoon.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: