-
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
[HOLD for payment 2024-02-07] [$500] Split - Selected category and tag do not appear in split view when created offline #34988
Comments
Job added to Upwork: https://www.upwork.com/jobs/~015fecc4fa91f637f5 |
Triggered auto assignment to @kevinksullivan ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
We think that this bug might be related to #wave6. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The scan split created offline has no category & tag What is the root cause of that problem?When creating a split scan request, we call this function: App/src/pages/iou/request/step/IOURequestStepConfirmation.js Lines 220 to 229 in 4c225f2
And inside it, when creating the optimistic split transaction, we do not pass the category & tag: Lines 1800 to 1811 in bb86e24
What changes do you think we should make in order to solve the problem?We should pass the category & tag as parameters to const splitTransaction = TransactionUtils.buildOptimisticTransaction(
0,
CONST.CURRENCY.USD,
CONST.REPORT.SPLIT_REPORTID,
comment,
'',
'',
'',
CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT,
receiptObject,
filename,
+ undefined,
+ category,
+ tag
); Similar to how we pass it here: Lines 1366 to 1380 in bb86e24
What alternative solutions did you explore? (Optional) |
@paultsimura's proposal looks good to me, the fix is pretty straightforward 🎀👀🎀 C+ reviewed! |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Thanks. The PR is ready for review: #35135 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@eVoloshchak can you complete the checklist above please? |
|
Regression Test Proposal Preconditions:
Do we agree 👍 or 👎 |
@eVoloshchak, @paultsimura, @luacmartins, @kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Paid @paultsimura . @eVoloshchak offer sent your way, let me know here when you accept. |
@kevinksullivan, no need for Upwork, I get paid via NewDot |
Payment summary:
|
$500 approved for @eVoloshchak based on summary above. |
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.30-0
Reproducible in staging?: Y
Reproducible in production?: Y
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 #34236
Action Performed:
Precondition:
Expected Result:
The selected category and tag do not appear in split action preview
Actual Result:
The selected category and tag do not appear in split action preview when the split is created offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6352387_1706036396799.20240123_221942.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: