-
Notifications
You must be signed in to change notification settings - Fork 3k
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-05-29][$250] IOU - Copied link URL includes "Undefined" #41084
Comments
Triggered auto assignment to @laurenreidexpensify ( |
We think this issue might be related to the #vip-vsb. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Copied link URL includes "Undefined" What is the root cause of that problem?on context menu, the copy link menu item App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 398 to 403 in 035adb8
What changes do you think we should make in order to solve the problem?We need to check if the value const reportActionID = reportAction?.reportActionID || ''; POC: 20240426_184957.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
Lines 5277 to 5279 in 2d88758
By the early return above, we skip the Then when we retrieved the report actions in
What changes do you think we should make in order to solve the problem?We should prioritize the Lines 5277 to 5282 in 2d88758
if (Object.keys(currentReportAction ?? {}).length === 0) {
return isThreadFirstChat(reportAction, reportID) ? parentReportID : transactionThreadReportID ?? reportID;
}
return reportID; What alternative solutions did you explore? (Optional)Or we can just show
Line 1146 in fa29a35
|
Job added to Upwork: https://www.upwork.com/jobs/~01a65eb92968b7e037 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
This feels like low priority / polish for vip-vsb |
@rojiphil, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Hi @rojiphil did you have a chance to take a look? |
@rojiphil bump for review ^^ |
@gijoe0295 As per your proposal, the copied link will have |
And sorry for the delay in review here. |
@rojiphil Yes, correct. In other words, that will link to the report preview action in the policy expense report (not the expense report currently). |
@gijoe0295 And why do you think |
@rojiphil because the report preview is in the policy expense report. If it didn't point to the correct report, it would cause errors like this one, or navigate to not found page. |
@gijoe0295 Thanks for the clarifications. |
@gijoe0295 proposal has the correct RCA and solution. |
Triggered auto assignment to @bondydaa, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@bondydaa this one is ready for review 👍 |
❌ There was an error making the offer to @rojiphil for the Reviewer role. The BZ member will need to manually hire the contributor. |
❌ There was an error making the offer to @gijoe0295 for the Contributor role. The BZ member will need to manually hire the contributor. |
oh GH issues might have caused that https://www.githubstatus.com/incidents/tsrh60nkbchl |
@gijoe0295 looks like we good to go - please let us know when you expect to have a draft PR up thanks |
Payment Summary:
|
Thanks @laurenreidexpensify. Accepted the offer |
Payment Summary: C+ @rojiphil $250 paid in upwork @rojiphil do we need a regression test for this - please confirm steps if so, thanks |
A regression test is not required as this issue occurs only in certain cases and is not high-impact. We can skip this. |
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.66-2
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The copied URL doesn't include "Undefined"
Actual Result:
The copied URL includes "Undefined" at the end
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6462644_1714123878533.bandicam_2024-04-26_12-26-46-976.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @gijoe0295The text was updated successfully, but these errors were encountered: