pluginsGLPI / customfields

customfields plugin for GLPI
GNU General Public License v2.0
13 stars 4 forks source link

Pb with dropdown values management #50

Open dethegeek opened 9 years ago

dethegeek commented 9 years ago

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

( redmine : https://forge.glpi-project.org/issues/5400 )