-
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
[$250] Web - Console error shows up when creating room and opening room chat #25717
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @cead22 ( |
We are trying to parse the URL and relative href can't be parsed and that's why it jumps to the catch block where we are consoling the error. I think we can just remove console line here as it makes sense that some relative paths will fall down into the catch block for the Line 25 in 44eb88a
|
I don't think this is a bug or a blocker as this console.log seems to have been added for debugging purposes. We can decide to remove it if we want, and do so in any of the PRs submitted for this repo, but I suggest we close this |
It looks like this is failing in the constructor, and maybe instead of deleting that log line, we should update it to also log the |
Agreed that this doesn't seem like a bug, and certainly not a deploy blocker. It makes sense to me to remove the |
ProposalPlease re-state the problem that we are trying to solve in this issueWeb - Console error shows up when creating room and opening room chat What is the root cause of that problem?This is due to console.error being present in the places Line 25 in 44eb88a
and Line 45 in 44eb88a
Why did
|
const attrHref = htmlAttribs.href || ''; |
to
const attrHref = tryResolveUrlFromApiRoot(htmlAttribs.href || '');
And remove console.error
OR change to console.warn
Maybe Optional
In CONFIG.js
Line 23 in 44eb88a
const expensifyComWithProxy = getPlatform() === 'web' && useWebProxy ? '/' : expensifyURL; |
can be changed to get no problem with link rendering in the DEV server.
const expensifyComWithProxy = getPlatform() === 'web' && useWebProxy ? Url.addTrailingForwardSlash(window.location.origin) : expensifyURL;
What alternative solutions did you explore? (Optional)
@cead22 Huh... This is 4 days overdue. Who can take care of this? |
@cead22 Still overdue 6 days?! Let's take care of this! |
@cead22 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
@cead22 12 days overdue now... This issue's end is nigh! |
Switching to monthly since this isn't a priority |
No update. Focused on W9 and this is not a priority |
No update, focused on detailed design for Wave 9: Violations |
Job added to Upwork: https://www.upwork.com/jobs/~01b3473e5d9167fdde |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
@Ollyws can you please review @shubham1206agra 's proposal? I think it looks good but I think we should fix the URL with tryResolveUrlFromApiRoot and not remove the console.error since that's what surfaced this issue. What do you think? cc @roryabraham |
Upwork job price has been updated to $250 |
I'm not seeing any console errors when creating or navigating to a public room on the latest main. Is this reproducible for anyone else? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@lanitochka17 can you re-test and see if you can still reproduce please? |
Issue is not reproduced on latest build 1.3.96-5 Recording.385.mp4 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #24643
Action Performed:
Expected Result:
No console error
Actual Result:
Console error shows up when room chat is opened
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.56-7
Reproducible in staging?: Yes
Reproducible in production?: No
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6173787_20230822_132602.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: