Skip to content
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 2022-11-29] [$1000] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif #12795

Closed
trjExpensify opened this issue Nov 16, 2022 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@trjExpensify
Copy link
Contributor

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. Login with any account
  2. Click FAB icon -> New chat
  3. Enter kbecciv+1031abb2@gmail.com (has deprecated pronoun - Ze/hir) and select that contact

Expected Result:

New chat created with that user

Actual Result:

App crashes

Workaround:

None (well, get the person to change their pronouns presumably)

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: v1.2.28-2 (reproducible in dev only but will be deploy blocker soon)
Reproducible in staging?: N
Reproducible in production?: N
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

crash.mp4

Regression from this PR CC: @Beamanator

Expensify/Expensify Issue URL:
Issue reported by: @aimane-chnaif
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668625056676409

View all open jobs on GitHub

@trjExpensify trjExpensify added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

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

@trjExpensify trjExpensify added the External Added to denote the issue can be worked on by a contributor label Nov 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

Triggered auto assignment to @neil-marcellini (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif [$250] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif Nov 16, 2022
@trjExpensify
Copy link
Contributor Author

Based on this discussion, @aimane-chnaif want to add your proposal here so we can keep this moving before it gets to staging and becomes a deploy blocker?

@aimane-chnaif
Copy link
Contributor

aimane-chnaif commented Nov 16, 2022

Proposal

This is a regression from #12301.
zeHirHirs pronoun is removed while new pronouns are added, so we need to add it back

https://github.com/Expensify/App/blob/main/src/languages/en.js

    pronouns: {
        coCos: 'Co / Cos',
        eEyEmEir: 'E / Ey / Em / Eir',
        faeFaer: 'Fae / Faer',
        heHimHis: 'He / Him / His',
        sheHerHers: 'She / Her / Hers',
        merMers: 'Mer / Mers',
        neNirNirs: 'Ne / Nir / Nirs',
        neeNerNers: 'Nee / Ner / Ners',
        perPers: 'Per / Pers',
        theyThemTheirs: 'They / Them / Theirs',
        thonThons: 'Thon / Thons',
        veVerVis: 'Ve / Ver / Vis',
        viVir: 'Vi / Vir',
        xeXemXyr: 'Xe / Xem / Xyr',
        zeZieZirHir: 'Ze / Zie / Zir / Hir',
+       zeHirHirs: 'Ze / hir',
        callMeByMyName: 'Call me by my name',
    },

Same applies to https://github.com/Expensify/App/blob/main/src/languages/es.js

@AndrewGable AndrewGable self-assigned this Nov 16, 2022
@AndrewGable
Copy link
Contributor

AndrewGable commented Nov 16, 2022

Can you add a space? Otherwise yes this looks good: zeHirHirs: 'Ze / hir',

@aimane-chnaif
Copy link
Contributor

Can you add a space? Otherwise yes this looks good: zeHirHirs: 'Ze / hir',

sure, updated proposal

@Beamanator
Copy link
Contributor

Agreed & Let's capitalize Hir but I'd say we're ready for PR 👍

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 16, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

📣 @aimane-chnaif You have been assigned to this job by @AndrewGable!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@trjExpensify
Copy link
Contributor Author

Neat! @aimane-chnaif can we get a the PR up and merged for this right away today? Happy to increase the bounty to $1k if we can.

@aimane-chnaif
Copy link
Contributor

@AndrewGable PR is ready for review

@melvin-bot
Copy link

melvin-bot bot commented Nov 16, 2022

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • @trjExpensify A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
  • @mollfpr @aimane-chnaif @AndrewGable The PR that introduced the bug has been identified. Link to the PR: New Pronouns page #12301
  • @trjExpensify The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A - @Beamanator the author is aware and part of the discussion when this regression was caught.
  • @trjExpensify A discussion in #contributor-plus has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • @trjExpensify Payment has been made to the issue reporter (if applicable)
  • @trjExpensify Payment has been made to the contributor that fixed the issue (if applicable)
  • @trjExpensify Payment has been made to the contributor+ that helped on the issue (if applicable) - N/A we merged this one immediately as a breaking change before becoming a deploy blocker.

@trjExpensify trjExpensify changed the title [$250] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif [$1000] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif Nov 16, 2022
@trjExpensify trjExpensify added the Reviewing Has a PR in review label Nov 18, 2022
@mountiny mountiny changed the title [$1000] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif [HOLD for payment 2022-11-29] [$1000] App crashes when create new chat with the contact who has deprecated pronoun - reported by @aimane-chnaif Nov 22, 2022
@mountiny mountiny added the Awaiting Payment Auto-added when associated PR is deployed to production label Nov 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 25, 2022

@AndrewGable, @trjExpensify, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@AndrewGable
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Nov 29, 2022
@trjExpensify
Copy link
Contributor Author

Alrighty, ready to pay this one out @aimane-chnaif. We quick stepped it, so there wasn't a job for it. Just sent you a contract to accept on Upwork.

@trjExpensify
Copy link
Contributor Author

Cool, paid! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants