You are not logged in.
I am using the 0.90.1 version of GLPI.
I have problem when trying to assign the ticket to a supplier. The same is not inserted to the ticket. Checking the SQL error logs, I found this:
" *** MySQL query error:
SQL:INSERT
INTO `glpi_suppliers_tickets` (`suppliers_id`,`use_notification`,`alternative_email`,`type`,`tickets_id`) VALUES (\'1\',\'Array\',\'Array\',\'2\',\'15199\')
Error: Incorrect integer value: 'Array' for column 'use_notification' at row 1
Backtrace :
inc/commondbtm.class.php:425
inc/commondbtm.class.php:831 CommonDBTM->addToDB()
inc/commonitilobject.class.php:794 CommonDBTM->add()
inc/ticket.class.php:1060 CommonITILObject->prepareInputForUpdate()
inc/commondbtm.class.php:1035 Ticket->prepareInputForUpdate()
front/ticket.form.php:69 CommonDBTM->update()"
The problem seems to me that instead of entering 0 or 1 in the "use_notification" or email in the "alternative_email", there is the attempt to insert the string "Array" in both fields.
Manually managed to assign the supplier on the ticket, alteranco SQL and running it via CLI.
Anyone else with this problem? Is there a solution for this?
Last edited by taciano (2016-04-15 18:46:33)
Offline
I reproduce.
Ticket opened: https://github.com/glpi-project/glpi/issues/601
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
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
Thanks for the answer!
The fix worked perfectly!!
Last edited by taciano (2016-04-15 20:20:30)
Offline