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 2012-07-28 01:40:14

vhc
Member
From: Madrid (Spain)
Registered: 2012-07-28
Posts: 2
Website

ticket.item.model on ticket mail notification.

Hi!
I´ve using GLPI 0.80 and I updated to 0.83.4 trying to get a solution.
The issue is on ticket notification I can not see ##ticket.item.model## field value.
After a couple of days looking for, I get no answer from browsing.
I´ve checked model is filled on item form (Computer and Phone), but no way to get at notification.
At /inc/notificationtargetticket.class.php i´ve found at lines 315 to 319 the code retrieving the data, but the sentence

if ($hardware->isField($modelfield) {

seems to return always false.

I´ve tried to move the line 318

$datas['##ticket.item.model##'] = $hardware->getField($modelfield);

out of the conditional, in this case I get N/A at value for model.

Anybody has the same problem?

Thanks in advance,
Víctor H. Calvo


Linux CentOS with glpi 0.78, 0.80, 0.83.4 on apache

Offline

Board footer

Powered by FluxBB