-
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-08-26] [$250] iOS - Chat - App crashes when adding a space at the end of hyperlink text while editing #45623
Comments
Triggered auto assignment to @twisterdotcom ( |
@twisterdotcom FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
Is odd. Going to put this in live markdown though. |
Job added to Upwork: https://www.upwork.com/jobs/~01765448d1b685d840 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf ( |
Ouch that was bad, @lanitochka17 does it not happen on android ? |
No, on Android it isn't an issue, although it never saves the extra space. |
can you put this to daily @twisterdotcom , crashes are really bad, was there a reason for weekly? |
The reason I made it weekly is that it's a very niche flow. We can make it daily, but I don't think it will necessarily help it get done quicker. |
ProposalPlease re-state the problem that we are trying to solve in this issue.iOS - Chat - App crashes when adding a space at the end of hyperlink text while editing What is the root cause of that problem?In here, we are trimming spaces from both end, so in here, the final converted text will be different from the input However, in iOS, we are using bare Hermes runtime (check this) to evaluate the parser script. Unfortunately, according to facebook/hermes#675, the 'console' is not available in the bare Hermes runtime, hence the crash. To reproduce, we can run the What changes do you think we should make in order to solve the problem?Simplest solution is to remove In here, add
Additionally, we also need to allow trailing spaces on link name. This can be done by following code change in these 2 functions here.
We can further extend by only allowing extra trailing spaces in link markdown parsing in What alternative solutions did you explore? (Optional)We can utilize https://www.npmjs.com/package/babel-plugin-transform-globals to replace the |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I will review the above proposal by EOD |
@twisterdotcom, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Sorry, this fell through the cracks, i will review the proposal today |
Current assignee @DylanDylann is eligible for the External assigner, not assigning anyone new. |
I can't get the auto-assigner to kick in, but I've pinged @mountiny to see if he can merge the PR above |
This should be ready for payment, no? |
Is this for #47199 (comment)? This was deployed to prod 2 days ago, so we should add |
@twisterdotcom, @Gonals, @mountiny, @DylanDylann, @dominictb Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@twisterdotcom, @Gonals, @mountiny, @DylanDylann, @dominictb 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
I am OOO and will be back for payment on Thurs. |
@twisterdotcom, @Gonals, @mountiny, @DylanDylann, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@twisterdotcom Kindly bump on payment |
@twisterdotcom, @Gonals, @mountiny, @DylanDylann, @dominictb Still overdue 6 days?! Let's take care of this! |
Sorry this slipped through the cracks. Payment Summary:
|
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: 9.0.8-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4732111
**Issue reported by:**Applause - Internal Team
Action Performed:
Expected Result:
Space should be appended at the end of hyperlink text
Actual Result:
The app crashes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6545344_1721230676639.NVXM4738.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @twisterdotcomThe text was updated successfully, but these errors were encountered: