View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010035 | mantisbt | custom fields | public | 2009-01-09 07:29 | 2009-04-20 09:49 |
Reporter | mwittke | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Win32/IIS | OS | Windows 2003 Server & IIS6 | OS Version | 2003R2 SP1 |
Product Version | 1.1.6 | ||||
Target Version | 1.1.7 | Fixed in Version | 1.1.7 | ||
Summary | 0010035: Custom multi-selection list fields don't allow deselection | ||||
Description | If you have a custom field of type multi-selection list, there is no way to remove a selected item. A possible workaround is to add an empty item to the list, but this is not so nice. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Have you tried holding down the Control key while clicking on the one selected item in the list? This is the standard method for browsers and other applications to select or deselect items in multi-select list boxes. |
|
Yes, the browser supports the deselection. However, Mantis won't delete the selection. After reloading the page, it will be there again. |
|
OK, thank you. Targetting for 1.1.7. |
|
Reminder sent to: thraxisp Glenn, perhaps this is related to the recent changes to how custom fields are processed? |
|
I retested this with the latest git on both 1.1.x and 1.2.x branches. It appears to work. |
|
Is there a instance available, where I can review the fix? Unfortunately there's currently no time to set up my own... |
|
Testing with latest 1.2.x trunk I can confirm that one can remove any entry from the list as long as at least one is left. It seems it is impossible to remove all selections (as reported in 0010254). |
|
I added a patch for both 1.1.7 and 1.2.x to fix this corner case. |
|