Skip to content

[HOLD for payment 2023-04-12] Profile - Different spellings of the word "Kyiv" in different tabs #16620

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. Go to URL https://staging.new.expensify.com/
  2. Login with any account
  3. Go to Profile -> Personal details -> Home address
  4. Enter any address in Kyiv, Ukraine (pay attention to the spelling of the word Kyiv)
  5. Go to Profile -> Timezone -> Choose Europe/Kiev
  6. Pay attention to the spelling of the word Kyiv in Timezone

Expected Result:

The word Kyiv must be written in the same way in all tabs as "Kyiv"

Actual Result:

Different spellings of the word Kyiv in the Home address tab and Timezone tab

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.2.90.4

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

Bug5995981_Recording__4044.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d6d1ae9299e50a1a
  • Upwork Job ID: 1643293038827479040
  • Last Price Increase: 2023-04-04

Activity

  1. added
    Daily
    Bug
    on Mar 28, 2023
  2. MelvinBot commented on Mar 28, 2023

    @MelvinBot
    Contributor

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

  3. MelvinBot commented on Mar 28, 2023

    @MelvinBot
    Contributor

    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. lschurr commented on Mar 29, 2023

    @lschurr
    Contributor

    Hm, I tried in Safari, Chrome, and iOS and get Kyiv each time.

    Which platform gave you something different @kbecciv?

  5. kbecciv commented on Mar 29, 2023

    @kbecciv
    Author

    @lschurr Please try under Timezone
    Screenshot_20230329_165830_Chrome

  6. lschurr commented on Mar 30, 2023

    @lschurr
    Contributor

    Ah, ok, yes I see it spelled differently there. Going to add Eng for another set of eyes.

  7. MelvinBot commented on Mar 30, 2023

    @MelvinBot
    Contributor

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

  8. francoisl commented on Mar 30, 2023

    @francoisl
    Contributor

    We use the moment library to generate the list of available timezones, we likely just need to update that dependency. Going to keep internal.

  9. added
    Reviewing
    on Mar 30, 2023
  10. francoisl commented on Mar 30, 2023

    @francoisl
    Contributor

    This is indeed fixable by updating the moment-timezone dependency, but just a heads up that the dependency uses the IANA's timezone database as a source of reference, which still includes the name Kiev, as an alias / backwards compatibility for Kyiv. So both options will now be available if you search for Europe/K, but that's acceptable in my opinion, since as least the correct spelling Kyiv is available.

    image

  11. lschurr commented on Apr 4, 2023

    @lschurr
    Contributor

    This is all internal, correct? No payments needed for contributors, right @francoisl?

  12. 15 remaining items

  13. removed
    Reviewing
    on Apr 5, 2023
  14. MelvinBot commented on Apr 5, 2023

    @MelvinBot
    Contributor

    Reviewing label has been removed, please complete the "BugZero Checklist".

  15. MelvinBot commented on Apr 5, 2023

    @MelvinBot
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.94-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2023-04-12. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter - N/A
    • Contributor that fixed the issue - Internal
    • Contributor+ that helped on the issue and/or PR - @mananjadhav

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  16. MelvinBot commented on Apr 5, 2023

    @MelvinBot
    Contributor

    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:

    • [@mananjadhav / @francoisl] The PR that introduced the bug has been identified. Link to the PR: N/A - we get the timezone names from a lib, which gets them itself from the official IANA tzdb. That database didn't include Europe/Kyiv until fairly recently.
    • [@mananjadhav / @francoisl] 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
    • [@mananjadhav / @francoisl] A discussion in #expensify-bugs 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: N/A
    • [@lschurr] Determine if we should create a regression test for this bug. – No need
    • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. – N/A
    • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  17. kbecciv commented on Apr 6, 2023

    @kbecciv
    Author

    @francoisl
    One of our tester noticed different spelling for one of the city of Ukraine - Zaporizhzhia. We don't want to open a new issue for that, posting it here.

    If you want, we can ask our DT to go through the list of all the UA cities and provided extended list of incorrectly spelled values.

    Screenshot_2023-04-06-21-27-19-06_40deb401b9ffe8e1df2f1cc5ba480b12
    Screenshot_2023-04-06-21-29-11-07_40deb401b9ffe8e1df2f1cc5ba480b12

  18. reopened this on Apr 6, 2023
  19. added
    Daily
    and removed
    Weekly
    on Apr 11, 2023
  20. lschurr commented on Apr 12, 2023

    @lschurr
    Contributor

    @mananjadhav @francoisl - do we need a regression test for this one?

  21. mananjadhav commented on Apr 12, 2023

    @mananjadhav
    Collaborator

    I don’t think we need, because city names generally don’t change and could be added anytime.

  22. francoisl commented on Apr 12, 2023

    @francoisl
    Contributor

    Regarding the spelling of other cities:

    One of our tester noticed different spelling for one of the city of Ukraine - Zaporizhzhia. We don't want to open a new issue for that, posting it here.

    If you want, we can ask our DT to go through the list of all the UA cities and provided extended list of incorrectly spelled values.

    The library we use to get timezone names (moment-timezone) uses the official time zone database managed by the Internet Assigned Numbers Authority (IANA). If we start diverging from it and want to add our own alternative spellings, we'd have to do some sort of audit of all the existing timezones and find if they also need to spelled differently. Given that the IANA recently added a timezone name for Europe/Kyiv, they seem receptive to the idea of adding alternative spellings, so it's likely they'll add one for Zaporizhzhia in a future update. For now, I'd recommend we don't do anything special.

  23. lschurr commented on Apr 13, 2023

    @lschurr
    Contributor

    This one is all set. Are we good to close?

  24. mananjadhav commented on Apr 13, 2023

    @mananjadhav
    Collaborator

    Yes I think we're good to close. 👍

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions