Bug #5400

Pb with dropdown values mngt

Added by blerohellec over 4 years ago.

Status:NewStart date:07/06/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

v1.6
When a dropdown value is 'child of' another one, a sql error is generated.
Indeed, there is no column sons_cach in glpi_plugin_CF_dropdownsitems

SQL: UPDATE `glpi_plugin_customfields_dropdownsitems`
SET `sons_cache` = NULL
WHERE `id` = \'3\'
Error: Unknown column 'sons_cache' in 'field list'
Backtrace :
/var/www/glpi084/inc/commontreedropdown.class.php :251 DBmysql->query()
/var/www/glpi084/inc/commontreedropdown.class.php :257 CommonTreeDropdown->recursiveCleanSonsAboveID()
/var/www/glpi084/inc/commontreedropdown.class.php :283 CommonTreeDropdown->recursiveCleanSonsAboveID()
/var/www/glpi084/inc/commondbtm.class.php :1074 CommonTreeDropdown->post_updateItem()
/var/www/glpi084/front/dropdown.common.form.php :101 CommonDBTM->update()
/var/www/glpi084/plugins/customfields/front/dropdownsitem.form.php :43 include()
/var/www/glpi084/plugins/customfields/front/dropdownsitem.form.php

v1.7 : I cant' even set 'child of' because the children list is always empty !

Also available in: Atom PDF