Skip to content

[$1000] [HOLD FOR PAYMENT 13-07-23] Web - Repeated copy of contact method URL adds characters in URL triggering its not here page #22263

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 profile
  4. Open contact method
  5. Open non default contact method and copy the URL
  6. paste URL in any report and send
  7. Click on URL and observe that it opens correct contact method page, again copy the URL and send in report
  8. Click on URL sent in step 7 to observe that now it provides 'Hmm its not here' page

Expected Result:

App should not add content to URL while visiting to avoid 'Hmm its not here' page error on recopy and revisit

Actual Result:

App adds new content in URL of contact method whenever we visit it again by deep link triggering 'Hmm its not here' on 2nd URL copy and visit

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.36-4
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
Notes/Photos/Videos: Any additional supporting documentation

recopy.and.revisit.contact.method.not.here.error.mp4
Recording.3426.mp4

Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688490569899239

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ae16ee8b22ed14a7
  • Upwork Job ID: 1680122209842212864
  • Last Price Increase: 2023-07-15

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jul 5, 2023
  2. melvin-bot commented on Jul 5, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jul 5, 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. hungvu193 commented on Jul 5, 2023

    @hungvu193
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Web - Repeated copy of contact method URL adds characters in URL triggering its not here page

    What is the root cause of that problem?

    If we take a look at the link, we can see the email param was decoded 2 times which caused the issue.

    What changes do you think we should make in order to solve the problem?

    We should get rid of using encodeURIComponent in here, it should be:

    getEditContactMethodRoute: (contactMethod) => `${SETTINGS_CONTACT_METHODS}/${contactMethod}/details`,

    What alternative solutions did you explore? (Optional)

    N/A

  5. melvin-bot commented on Jul 6, 2023

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  6. Julesssss commented on Jul 6, 2023

    @Julesssss
    Contributor

    Already fixed here

  7. Julesssss commented on Jul 6, 2023

    @Julesssss
    Contributor

    Resolved as of v1.3.37-3

  8. self-assigned this
    on Jul 6, 2023
  9. Julesssss commented on Jul 6, 2023

    @Julesssss
    Contributor

    Reporter bonus is valid though. So I'll leave the issue open.

  10. changed the title [-]Web - Repeated copy of contact method URL adds characters in URL triggering its not here page[/-] [+][HOLD FOR PAYMENT 13-07-23] Web - Repeated copy of contact method URL adds characters in URL triggering its not here page[/+] on Jul 6, 2023
  11. added and removed on Jul 6, 2023
  12. situchan commented on Jul 6, 2023

    @situchan
    Contributor

    @Julesssss can you please assign me to the issue? As I was the author of PR

  13. 28 remaining items

  14. NicMendonca commented on Jul 18, 2023

    @NicMendonca
    Contributor

    @situchan @dhanashree-sawant - you've both been paid 🎉

    @thesahindia do you want me to keep this open as a reminder to request payment in NewDot?

  15. NicMendonca commented on Jul 18, 2023

    @NicMendonca
    Contributor

    @thesahindia says he's got this on his to-do! closing!

  16. JmillsExpensify commented on Sep 22, 2023

    @JmillsExpensify
    Contributor

    @NicMendonca Do you mind adding a payment summary on this issue so that I can pay @thesahindia?

  17. NicMendonca commented on Sep 22, 2023

    @NicMendonca
    Contributor

    cc @JmillsExpensify ^^

  18. thesahindia commented on Sep 22, 2023

    @thesahindia
    Member

    Looks like I requested $1500. Editing it now!

  19. situchan commented on Sep 22, 2023

    @situchan
    Contributor

    $1500 should be correct amount. PR was merged within a day

  20. thesahindia commented on Sep 22, 2023

    @thesahindia
    Member

    Ahh, thanks @situchan. Changing it again.

  21. NicMendonca commented on Sep 25, 2023

    @NicMendonca
    Contributor

    Sorry, you're right! This was quite a long time ago I forgot!

    image

  22. NicMendonca commented on Sep 25, 2023

    @NicMendonca
    Contributor

    reporter: @dhanashree-sawant - $250
    Contributor: @situchan - $1,500
    C+: @thesahindia - $1,500

  23. JmillsExpensify commented on Oct 5, 2023

    @JmillsExpensify
    Contributor

    $1,500 payment approved for @thesahindia based on BZ summary.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions