Bug #5334

Sql error in Processor typed criteria

Added by blerohellec over 4 years ago. Updated over 4 years ago.

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

0%

Category:-
Target version:2.1.0

Description

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()

History

#1 Updated by tsmr over 4 years ago

Error with static function getDropdownName of GLPI

Adding l336

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

#2 Updated by tsmr over 4 years ago

  • Assignee set to tsmr
  • Target version set to 2.1.0

Also available in: Atom PDF