Bug #5334

Sql error in Processor typed criteria

Added by blerohellec about 7 years ago. Updated almost 7 years ago.

Status:NewStart date:05/24/2015
Priority:NormalDue date:
Assignee:tsmr% Done:


Target version:2.1.0


Create a criteria with element Processors.
Add a definition : field = Name, logical operator = IS, choose any value in the list -> an sql-error is generated

Notice(8): Undefined index: name
Backtrace :
/var/www/glpi084/inc/toolbox.class.php:531 Toolbox::userErrorHandlerNormal()
/var/www/glpi084/inc/dropdown.class.php:300 Toolbox::userErrorHandlerDebug()
/var/www/glpi084/ajax/comments.php:69 Dropdown::getDropdownName()


#1 Updated by tsmr almost 7 years ago

Error with static function getDropdownName of GLPI

Adding l336

elseif ($item instanceof CommonDevice) {
$name = $data["designation"];

#2 Updated by tsmr almost 7 years ago

  • Assignee set to tsmr
  • Target version set to 2.1.0

Also available in: Atom PDF