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 2014-07-04 09:19:05

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

[SVN 0.85 - 0.84] Php-errors sur Mode debug traduction notif

sur glpi/front/notificationtemplatetranslation.form.php?id=4&notificationtemplates_id=4

Traduction d'un modèle de notification :

Je vais sur l'onglet debug et simule un envoi de mail :

2014-07-04 07:14:28 [6@P253]
  *** PHP Notice(8): Undefined index: usertype
  Backtrace :
  inc\notificationtargetticket.class.php:287         
  ...otificationtargetcommonitilobject.class.php:593 NotificationTargetTicket->getDatasForObject()
  inc\notificationtarget.class.php:1066              NotificationTargetCommonITILObject->getDatasForTemplate()
  inc\notificationtemplate.class.php:235             NotificationTarget->getForTemplate()
  inc\notificationtemplatetranslation.class.php:481  NotificationTemplate->getTemplateByLanguage()
  inc\commonglpi.class.php:1026                      NotificationTemplateTranslation->showDebug()
  inc\commonglpi.class.php:437                       CommonGLPI->showDebugInfo()
  ajax\common.tabs.php:87                            CommonGLPI::displayStandardTab()
2014-07-04 07:14:28 [6@P253]
  *** PHP Notice(8): Undefined index: item
  Backtrace :
  inc\notificationtemplate.class.php:286             
  inc\notificationtemplatetranslation.class.php:481  NotificationTemplate->getTemplateByLanguage()
  inc\commonglpi.class.php:1026                      NotificationTemplateTranslation->showDebug()
  inc\commonglpi.class.php:437                       CommonGLPI->showDebugInfo()
  ajax\common.tabs.php:87                            CommonGLPI::displayStandardTab()
2014-07-04 07:14:28 [6@P253]
  *** PHP Notice(8): Trying to get property of non-object
  Backtrace :
  inc\ticket.class.php:6065                          
  inc\notificationtemplate.class.php:286             Ticket->convertContentForNotification()
  inc\notificationtemplatetranslation.class.php:481  NotificationTemplate->getTemplateByLanguage()
  inc\commonglpi.class.php:1026                      NotificationTemplateTranslation->showDebug()
  inc\commonglpi.class.php:437                       CommonGLPI->showDebugInfo()
  ajax\common.tabs.php:87                            CommonGLPI::displayStandardTab()

Xavier Caillaud
Blog GLPI Infotel

Offline

#2 2014-08-20 10:47:54

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: [SVN 0.85 - 0.84] Php-errors sur Mode debug traduction notif

je ne reproduis pas.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB