Bug #5329

Error when adding a criterion - without an item - to a typology

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

Status:ResolvedStart date:05/22/2015
Priority:NormalDue date:
Assignee:tsmr% Done:

100%

Category:-
Target version:2.1.0

Description

Version 2.0.0
Create a typology.
Add a criterion without an item (wrong manipulation).
The criterion is created in table _typologycriterias.
But it cannot be displayed on screen : Fatal error: Class '0' not found in /var/www/glpi084/plugins/typology/inc/typologycriteria.class.php on line 375
Unfortunately, the criterion can't be removed. Only solution is to delete its record from the table.

Nothing in php-errors.log

Associated revisions

Revision 34
Added by tsmr about 4 years ago

Minor fixes
fix #5333
fix #5331
fix #5329

History

#1 Updated by tsmr about 4 years ago

  • Assignee set to tsmr
  • Target version set to 2.1.0

#2 Updated by tsmr about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r34.

Also available in: Atom PDF