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 2010-10-26 16:02:32

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

cronAlertNotClosed + notif

Notice(8): Undefined index:  glpiparententities
Backtrace :
/app/gbd02/web/glpi078/inc/auth.function.php:810        userErrorHandlerNormal()
/app/gbd02/web/glpi078/inc/notificationtarget.class.php:548        getEntitiesRestrictRequest()
/app/gbd02/web/glpi078/inc/notificationtarget.class.php:580        NotificationTarget->addGroupsToTargets()
/app/gbd02/web/glpi078/inc/notificationtarget.class.php:102        NotificationTarget->getNotificationTargets()
/app/gbd02/web/glpi078/inc/notificationtargetticket.class.php:42        NotificationTarget->__construct()
/app/gbd02/web/glpi078/inc/notificationtarget.class.php:161        NotificationTargetTicket->__construct()
/app/gbd02/web/glpi078/inc/notificationevent.class.php:71        NotificationTarget::getInstance()
/app/gbd02/web/glpi078/inc/ticket.class.php:4811        NotificationEvent::raiseEvent()
/app/gbd02/web/glpi078/inc/crontask.class.php:671        call_user_func()
/app/gbd02/web/glpi078/front/cron.php:63        CronTask::launch()

sad


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#2 2010-10-26 16:19:10

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: cronAlertNotClosed + notif

A revoir....
https://forge.indepnet.net/projects/glp … ions/12894

Je me demande s'il faudrait pas prendre l'option en priorité...

         if (isset($options['entities_id'])) {
            $entity = $options['entities_id'];
         } else if ($item->getField('entities_id') !== NOT_AVAILABLE) {
            $entity = $item->getEntityID();

Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2010-10-27 09:51:05

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

Re: cronAlertNotClosed + notif

j'ai ca en même temps :

25-10-2010 11:15 []
*** MySQL query error :
***
SQL: SELECT `id`, `name`
                FROM `glpi_groups` WHERE ( `glpi_groups`.`entities_id` IN ()  )
                ORDER BY `name`
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')  )
                ORDER BY `name`' at line 2
Backtrace :
/var/www/glpi/inc/dbmysql.class.php :534        DBmysql->query()
/var/www/glpi/inc/dbmysql.class.php :440        DBmysqlIterator->__construct()
/var/www/glpi/inc/notificationtarget.class.php :551        DBmysql->request()
/var/www/glpi/inc/notificationtarget.class.php :580        NotificationTarget->addGroupsToTargets()
/var/www/glpi/inc/notificationtarget.class.php :102        NotificationTarget->getNotificationTargets()
/var/www/glpi/inc/notificationtarget.class.php :161        NotificationTarget->__construct()
/var/www/glpi/inc/notificationevent.class.php :71        NotificationTarget::getInstance()
/var/www/glpi/inc/contract.class.php :1014        NotificationEvent::raiseEvent()
 :        Contract::cronContract()
/var/www/glpi/inc/crontask.class.php :671        call_user_func()
/var/www/glpi/front/cron.php :63        CronTask::launch()
/var/www/glpi/front/cron.php


Xavier Caillaud
Blog GLPI Infotel

Offline

#4 2010-10-27 10:40:35

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: cronAlertNotClosed + notif

Avec quelle révision ?


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2010-10-27 10:42:12

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

Re: cronAlertNotClosed + notif

C'est des erreurs du 25-10-2010.

Je viens d'uploader tes corrections

On va vouar big_smile


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB