You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-06-09] [$250] card-Refreshing card's name, showing empty field instead card's name. #62076
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: V9.1.45-18 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:slottwo1w2456@gmail.com Email or phone of affected tester (no customers): N Issue reported by: Applause Internal Team Device used: Redminote note 10s android 13 App Component: Workspace Settings
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
We can consider the render the input only when customCardNames is loaded
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]card-Refreshing card's name, showing empty field instead card's name.[/-][+][$250] card-Refreshing card's name, showing empty field instead card's name.[/+]on May 20, 2025
Hi, I'm trying to replicate the issue on your staging but can't add an American Express card because it routes to their service and I don't have a card. But anyway, from the video and description of the problem it seems to be a state management problem. Since the name is loaded when routing from the previous page/screen/state. On refresh, the parameter passed from the route might be missing. Could ensure that the card name is fetched when reloading the page, from whatever parameter is available in the session or card_id.
changed the title [-][$250] card-Refreshing card's name, showing empty field instead card's name.[/-][+][Due for payment 2025-06-09] [$250] card-Refreshing card's name, showing empty field instead card's name.[/+]on Jun 2, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.54-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ikevin127@muttmuure@ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon May 15, 2025
Triggered auto assignment to @muttmuure (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nkdengineer commentedon May 15, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Refreshing card's name, showing empty field instead card's name.
What is the root cause of that problem?
We're getting the default value for card name in
App/src/pages/workspace/companyCards/WorkspaceCompanyCardEditCardNamePage.tsx
Line 33 in 11385b8
And it can be undefined at the beginning. And if it's undefined we'll show it empty in the input even though it has value after that
App/src/pages/workspace/companyCards/WorkspaceCompanyCardEditCardNamePage.tsx
Line 91 in 11385b8
What changes do you think we should make in order to solve the problem?
We should create the util function in
CardUtilsThen use it in
App/src/pages/workspace/companyCards/WorkspaceCompanyCardEditCardNamePage.tsx
Line 34 in 11385b8
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
We can consider the render the input only when
customCardNamesis loadedReminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon May 20, 2025
@muttmuure Huh... This is 4 days overdue. Who can take care of this?
[-]card-Refreshing card's name, showing empty field instead card's name.[/-][+][$250] card-Refreshing card's name, showing empty field instead card's name.[/+]melvin-bot commentedon May 20, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021924889724426609632
melvin-bot commentedon May 20, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (
External)Reaper1x0 commentedon May 20, 2025
Hi, I'm trying to replicate the issue on your staging but can't add an American Express card because it routes to their service and I don't have a card. But anyway, from the video and description of the problem it seems to be a state management problem. Since the name is loaded when routing from the previous page/screen/state. On refresh, the parameter passed from the route might be missing. Could ensure that the card name is fetched when reloading the page, from whatever parameter is available in the session or card_id.
20 remaining items
[-][$250] card-Refreshing card's name, showing empty field instead card's name.[/-][+][Due for payment 2025-06-09] [$250] card-Refreshing card's name, showing empty field instead card's name.[/+]melvin-bot commentedon Jun 2, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 2, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.54-7 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 2025-06-09. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 2, 2025
@ikevin127 @muttmuure @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
ikevin127 commentedon Jun 6, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] 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: https://github.com/Expensify/App/pull/49928/files#r2131162814.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Do we agree 👍 or 👎.
ikevin127 commentedon Jun 6, 2025
@muttmuure Please discard this for me, I will be requesting on ND ✅
Only @nkdengineer requires payment here through Upwork.
JmillsExpensify commentedon Jun 9, 2025
I need a payment summary for this one.
ikevin127 commentedon Jun 10, 2025
cc @muttmuure 👋 Mind dropping a payment summary here ?
muttmuure commentedon Jun 10, 2025
@ikevin127 - $250 C+
@nkdengineer - $250 C
JmillsExpensify commentedon Jun 11, 2025
$250 approved for @ikevin127