You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-12-19 18:05:17

dsi_re3m
Member
Registered: 2017-12-19
Posts: 1

Bugs Appliances 2.3.0 / GLPI 9.2.1

Bonjour,

Depuis un applicatif, il est possible de visualiser le(s) logiciel(s) rattaché(s) pour y accéder.
Par contre, après y avoir accéder, impossible de lister l'application parente :
Dans la page "Applicatifs" : Seule l'entité de l'application parente apparait. Les champs Nom, Composants à relier(, etc) sont en anomalie.

Voici les erreurs remontées :
- En tête de page :
PHP Notice: Undefined index: id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 188
PHP Notice: Undefined index: is_deleted in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 191
PHP Notice: Undefined index: name in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 192
PHP Notice: Undefined index: entities_id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 195
PHP Notice: Undefined index: entities_id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 219
PHP Notice: Undefined index: groups_id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 221
PHP Notice: Undefined index: plugin_appliances_appliancetypes_id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 225
PHP Notice: Undefined index: comment in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 239

- Champ "Noms" :
PHP Notice: Undefined index: id in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 201

- Champ "Composants à relier" :
PHP Notice: Undefined index: entID in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 234

- Bouton "Supprimer définitivement" :
PHP Notice: Undefined index: entID in /var/virtual_www/glpi/plugins/appliances/inc/appliance_item.class.php at line 247

Merci pour votre aide.

Offline

#2 2018-01-08 20:19:20

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Bugs Appliances 2.3.0 / GLPI 9.2.1

Ticket ouvert sur la forge du projet : https://forge.glpi-project.org/issues/5542


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2018-01-08 20:31:46

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Bugs Appliances 2.3.0 / GLPI 9.2.1

Corrigé. J'en ai profité pour changé également l'appel qui fonctions qui a changé dans le core.
Pour votre problème, vous avez juste à changer, ligne 187 de votre fichier inc/appliance_item.class.php
      while ($data = $result_app->next()) {
par
      while ($data = $result->next()) {


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB