Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.1.89-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: Exploratory
Email or phone of affected tester (no customers): testpayment935+ag60@gmail.com
Issue reported by: Applause Internal Team
Device used: Windows 10 /Chrome, Samsung Galaxy s10/ Chrome
App Component: Workspace Settings
Action Performed:
- Navigate to staging.new.expensify.com.
- Create a Workspace > go to More > enable Tag feature.
- Create some tags and download them as a CSV file.
- Click the Import Tag option.
- Choose Single Level of Tags.
- Import the CSV file from Step 3.
- Set the GL code as the name (Important: This step is required to trigger the import failure popup. You can also use a corrupted CSV file.)
- Note an error appears in the tag list with an empty tag item.
- Click the "x" to dismiss the error.
- Click to select the item from the list.
- Note the item is selected, but the checkbox is not marked.
- Click the dropdown button and delete the selected item.
Expected Result:
When Importing tag fail, the error should be dismissible and no Tag shown in the list
Actual Result:
In Step 9, the error from the failed import is not dismissible. An empty tag list item appears and can be selected, but the checkbox is not marked.
In Step 12, when deleting the empty tag item using the dropdown button, a new error is shown along with an additional empty tag list item.
When attempting to delete this newly added empty tag item, two errors are displayed.
All of these errors persist until the page is refreshed or the user navigates to another tab and returns.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
1.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021952736074484728782
- Upwork Job ID: 1952736074484728782
- Last Price Increase: 2025-08-19
- Automatic offers:
- nkdengineer | Contributor | 108481896
- dominictb | Reviewer | 108699318
Issue Owner
Current Issue Owner: @dominictbMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Aug 5, 2025
Triggered auto assignment to @twisterdotcom (
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.nyomanjyotisa commentedon Aug 5, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Undismissable error shown when importing tag fails
What is the root cause of that problem?
We shouldn't show that empty tag
The empty tag coming from the API response
What changes do you think we should make in order to solve the problem?
We should filter out undefined or empty tags, we can check the value or the name, and exclude it if empty/undefined
App/src/pages/workspace/tags/WorkspaceTagsPage.tsx
Line 172 in 3c1d3c5
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)
None
nkdengineer commentedon Aug 5, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
In Step 9, the error from the failed import is not dismissible. An empty tag list item appears and can be selected, but the checkbox is not marked.
In Step 12, when deleting the empty tag item using the dropdown button, a new error is shown along with an additional empty tag list item.
When attempting to delete this newly added empty tag item, two errors are displayed.
All of these errors persist until the page is refreshed or the user navigates to another tab and returns.
What is the root cause of that problem?
We don't filter out tags with empty tag names, which causes the error appear when importing the tag
App/src/pages/workspace/tags/ImportedTagsPage.tsx
Line 96 in 3c1d3c5
What changes do you think we should make in order to solve the problem?
We should filter out the empty tag name here. We can do the same for category.
App/src/pages/workspace/tags/ImportedTagsPage.tsx
Line 96 in 3c1d3c5
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)
If all values from the required column are missing (or any value from require column is missing), we can return an error in the validate function here
App/src/pages/workspace/tags/ImportedTagsPage.tsx
Line 64 in 3c1d3c5
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.
melvin-bot commentedon Aug 5, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021952736074484728782
[-]Tag - Undismissable error shown when importing tag fails[/-][+][$250] Tag - Undismissable error shown when importing tag fails[/+]melvin-bot commentedon Aug 5, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (
External)melvin-bot commentedon Aug 8, 2025
@fedirjh Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Aug 12, 2025
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
42 remaining items
twisterdotcom commentedon Sep 4, 2025
@dominictb could we get the checklist done here please?
twisterdotcom commentedon Sep 4, 2025
Payment Summary:
[-][Due for payment 2025-09-04] [$250] Tag - Undismissable error shown when importing tag fails[/-][+][Awaiting checklist] [$250] Tag - Undismissable error shown when importing tag fails[/+]dominictb commentedon Sep 5, 2025
@twisterdotcom We need to pay @fedirjh here. I'm not due for payment. Will complete checklist for him soon.
fedirjh commentedon Sep 8, 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: N/A
[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: https://github.com/Expensify/Expensify/issues/544922
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Sep 8, 2025
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
[-][Awaiting checklist] [$250] Tag - Undismissable error shown when importing tag fails[/-][+][$250] Tag - Undismissable error shown when importing tag fails[/+]quinthar commentedon Sep 15, 2025
Approved $250 to @fedirjh