DependencyTrack / DependencyTrack/dependency-track
Column Name Checkboxes Disabled in Component's Column Settings
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
**Column Name Checkboxes Disabled in Component's Column Settings**
Problem Description:
We observed an issue when selecting or deselecting column names in the column settings of components. Initially, we can set or modify the column settings without any issues. However, when attempting to revert these changes, the column name checkboxes in the column settings dropdown become disabled.
Did the little investigation and found that, we are storing these setting in local storage and once settings are stored in local storage not able to update it.
**Workaround : When we clear the local storage browser cache it started working again for only first case.**

### Steps to Reproduce
- Log in to Dependency-Track.
- Navigate to Components and open the Columns dropdown settings.
- Deselect a previously selected column. The column is successfully deselected and removed from the grid.
- Attempt to reselect the column that was just deselected.
- The column cannot be reselected.
### Expected Behavior
Users should be able to select or deselect columns from the column settings dropdown, ensuring that only the desired columns are displayed in the grid.
### Dependency-Track Version
4.12.0
### Dependency-Track Distribution
Container Image
### Database Server
PostgreSQL
### Database Server Version
_No response_
### Browser
Google Chrome
### Checklist
- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.