Bug #4905
After deletion of a field, users may be unable to display a list of items
Status: | Assigned | Start date: | 05/02/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | dethegeek | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
When a field has been deleted, the index of this field may remain in display preferences and cause an SQL error. This error breaks the display of a list.
Workaround here : http://www.glpi-project.org/forum/viewtopic.php?pid=175434#p175434
History
#1 Updated by dethegeek over 6 years ago
- Status changed from New to Assigned
The display preferences in GLPI relies on indexes. Each field has it's own index and should not change.
Customfields is designed such a way a field may have different indexes during it's lifecycle. This should be rewritten.
When a field is deleted, customfields should delete it from all display preferences.