You are not logged in.
I have configurated in notifications options that the mail should be send to Requester, Technician in charge and administrator, but,
when I make a reservation, only the administrator GLPI and user received the notification for mail.
:S help
Any solution or there is a bug ?
Last edited by jcarvajal (2009-02-24 23:02:48)
Offline
do you have errors in debug mode ?
hardware hace a technician assigned ?
technician have a valid email ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I have this problem too.
I'm using GLPI 0.72.3 running under Ubuntu Server 9.10
My locales are set to Spanish es_ES
I have entered in debug mode and i can see this error.
PHP ERROR: Undefined index: EMAIL in /usr/local/glpi-0.72.3/inc/mailing.class.php at line 784
PHP ERROR: Undefined index: LANG in /usr/local/glpi-0.72.3/inc/mailing.class.php at line 784
looking into mailing.class.php i can see SQL query, and executing it through sql console it works ok, it retrieves user info, but i don't know how glpi stores the result.
I have changed the line 784 to this
$this->addToEmailList($emails,$row[0],$row[1]);
It looks a little ugly, but it works fine.
Offline
I have found the bug.
In line 783, in file mailing.class.php it reads
$row = $DB->fetch_row($result2);
when it should be
$row = $DB->fetch_array($result2);
Offline
the problem persists... technician in charge of the hardware and hardware user of the reservation does not receive the notification, however the requester and the administrator does.
0.78.3 and 0.8RC1 also. there is no error in debug mode. of course the assignments have been made and the addresses to be valid.
from mysql log an interesting query:
SELECT DISTINCT `glpi_users`.id AS id,
`glpi_users`.`email` AS email,
`glpi_users`.`language` AS language
FROM `glpi_users` INNER JOIN `glpi_profiles_users`
ON (`glpi_profiles_users`.`users_id` = `glpi_users`.`id` AND ( `glpi_profiles_users`.`entities_id` = '0' ) )
WHERE `glpi_users`.`id` = 'N/A'
Offline
anybody? nobody...?
Offline