Done
Details
Assignee
Uladzislau KutarkinUladzislau KutarkinReporter
Khalilah GambrellKhalilah GambrellPriority
P3Story Points
3Sprint
NoneDevelopment Team
CorsairFix versions
Release
Ramsons (R2 2024) Bug FixRCA Group
TBDAffected releases
Quesnelia (R1 2024)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Uladzislau Kutarkin
Uladzislau KutarkinReporter
Khalilah Gambrell
Khalilah GambrellPriority
Story Points
3
Sprint
None
Development Team
Corsair
Fix versions
Release
Ramsons (R2 2024) Bug Fix
RCA Group
TBD
Affected releases
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 16, 2024 at 3:25 PM
Updated January 7, 2025 at 9:46 AM
Resolved December 6, 2024 at 4:40 PM
When a custom field used in a list is deleted (Settings > Users > Custom fields), it breaks much of the functionality for that list.
Steps to reproduce:
Create a single checkbox custom field in Settings > Users > Custom fields
Go to the users app and select that custom field for one or more users
Create a list where the query includes the single checkbox custom field created in step #1
Make sure the single custom field is a visible column and save the list - everything should work as expected through this point
Go to Settings > Users > Custom fields and delete the single checkbox custom field created in step #1
Confirm deletion and delete the custom field
Go back to the list created in step #3
Without making any edits, the lists still loads, and the custom field column header still displays
Click ‘Edit query’
Actual results:
An error occurs when the query builder is opened and the app freezes
Expected outcome:
The query builder loads with the query prepopulated
If a field cannot be prepopulated (it was deleted), it’s removed from the query
The query can be edited
If the user removes any query conditions referring to the missing custom field, the query can be tested / saved
If the user tests the query without removing conditions referring to the missing custom field, an error message is displayed
The app doesn’t freeze if the user clicks the ‘cancel’ button to close the query builder
Proposed dev approach from Zak Burke … it does not handle the situation where
fieldOptions
does not contain a matchingfieldItem
. Since it is permissible to remove custom fields, it feels like this is a straight up bug in the UI. Line 2 and everything after should be fenced off by a conditional likeif (!!fieldItem) { ... }
.Current outcome when ‘Edit query’ is clicked