Skip to content

[HOLD for payment 2023-08-08] [$1000] Invite message with apostrophe is converted to uni code in invite SMS #20081

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app
  2. Open settings
  3. Open workspaces
  4. Open any workspace
  5. Open manage members
  6. Click on invite
  7. Select your contact number user (user which has contact number as primary contact and that number is available with you to receive text msg) and continue
  8. Write any invite message with apostrophe eg: This is test's message
  9. Click on invite
  10. On your device which has that contact number, observe the message received

Expected Result:

App should not convert apostrophe into uni code in invite SMS

Actual Result:

App converts apostrophe into uni code in invite SMS

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.22.0

Reproducible in staging?: yes

Reproducible in production?: yes

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

invite.SMS.issue.mobile.mp4
message.with.apostrophe.is.converted.in.msg.send.mp4

Screenshot_20230602_132245_Messages

Expensify/Expensify Issue URL:

Issue reported by: @dhanashree-sawant

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684770159646489

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016156d7f5010b1279
  • Upwork Job ID: 1666392553307992064
  • Last Price Increase: 2023-06-26

Activity

  1. added
    Daily
    Bug
    on Jun 2, 2023
  2. melvin-bot commented on Jun 2, 2023

    @melvin-bot

    Triggered auto assignment to @maddylewis (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jun 2, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. therealsujitk commented on Jun 3, 2023

    @therealsujitk
    Contributor

    The welcome message escaped for HTML emails - #16552, I guess it doesn't make sense to escape SMS messages. To resolve this the message will have to be unescaped internally before sending the SMS, or revert the PR and escape for emails internally.

  5. maddylewis commented on Jun 5, 2023

    @maddylewis
    Contributor

    i can repro this:

    image
  6. melvin-bot commented on Jun 5, 2023

    @melvin-bot

    Triggered auto assignment to @cristipaval (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  7. maddylewis commented on Jun 5, 2023

    @maddylewis
    Contributor

    @cristipaval - just confirming that this is an Internal issue before adding that label - lmk!

  8. cristipaval commented on Jun 7, 2023

    @cristipaval
    Contributor

    Yes, this seems to be internal. I can fix it early next week when I am back home. I am currently having some roaming issue.

  9. added
    Internal
    on Jun 7, 2023
  10. 74 remaining items

  11. 0xmiroslav commented on Aug 14, 2023

    @0xmiroslav
    Contributor

    No PR caused regression. This case was missed during initial implementation of welcomeNote.

    Regression Test Proposal

    1. Go to Settings > Workspaces > any Workspace > Members > Invite
    2. Select 2 users - one with email, another with phone number as logins
    3. Update message to "This is test's message"
    4. Click on Invite
    5. Verify that the text message received by email and SMS contains the actual apostrophes in the invite message, and not escaped HTML sequences.
  12. maddylewis commented on Aug 15, 2023

    @maddylewis
    Contributor

    apologies! i issued a couple of payments early:

    • @dhanashree-sawant should be paid for the reporting bonus - paid early
    • @akinwale for the solution - paid early
    • @0xmiroslav as C+ - waiting for Miroslav to accept the offer in Upwork and then i will process that payment
  13. 0xmiroslav commented on Aug 15, 2023

    @0xmiroslav
    Contributor

    I am still discussing with team on email regarding my payment.

  14. maddylewis commented on Aug 16, 2023

    @maddylewis
    Contributor

    @0xmiroslav - should i hire Volodomyr to this issue?

  15. 0xmiroslav commented on Aug 16, 2023

    @0xmiroslav
    Contributor

    @0xmiroslav - should i hire Volodomyr to this issue?

    yes please. Hope you already have all info from email

  16. maddylewis commented on Aug 17, 2023

    @maddylewis
    Contributor

    okay, here is the updated job post - https://www.upwork.com/jobs/~0163e9e66ca38f82a1

    im still a little unclear how to correctly send the payment to you. i will ask internally and then follow up.

  17. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    @akinwale, @cristipaval, @maddylewis, @0xmiroslav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  18. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    @akinwale, @cristipaval, @maddylewis, @0xmiroslav Whoops! This issue is 2 days overdue. Let's get this updated quick!

  19. maddylewis commented on Aug 21, 2023

    @maddylewis
    Contributor

    i just need to pay @0xmiroslav and then i can close this out. i confirmed how to do that on Friday so doing now!

  20. maddylewis commented on Aug 21, 2023

    @maddylewis
    Contributor

    sent offer to Volodymyr

  21. maddylewis commented on Aug 21, 2023

    @maddylewis
    Contributor

    everyone is paid! #20081 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions