You are not logged in.
I recently installed version 0.78.2 and experience the following behaviour:
deviced that were added to glpi and were available for reservation, before the reservation, are looking ok with respect to reservations (buttons to allow reservation of not are visible)
BUT: devices that were not available toreservations, or newly added reservation, we do not find any button anymore to activate the reservations for this device
Does anyone know if there is a change of handling since last update. or is this a bug ? I can not find any info concerning this in the manual
Thanks for helping !
Offline
Is there someone that can help me ???
I just installed version 0.78.3 and I have stille the same problem ..
Offline
Under Inventory\ e.g. Monitors\ I've a tab 'Reservation' there Reserve an item
'authorize revations'
glpi 0.78.3
Prod GLPI: 9.4.1.1 / Apache 2.4.25 (Debian) /PHP 7.0.30/ Server Software: Debian 9.1/Server Version: 10.1.26-MariaDB-0+deb9u1
Offline
To have the button Authorize reservations, you must have right Write in the field Administration of reservations in your profil
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
Yes, i've done this before in earlier versions of GLPI ( btw the setting is still correct). but when I pushed the button to allow the loan, nothing happened...
****
in the meantime I found that there was an error in the SQL-statement that was sent to the DB:
I detected with a query analyser that the statement, GLPI generates, was
INSERT INTO `glpi_reservationitems` (`items_id`,`itemtype`,`entities_id`,`is_recursive`,`is_active`) VALUES ('20','Peripheral','0','','1')
I launched this in the mySQL.exe, with result:
ERROR 1366 (HY000): Incorrect integer value: '' for column 'is_recursive' at row 1
so I found that the field is_recursive was not well defined.
for having a quick solution, i changed the file reservationitem.class.php, line 207:
original : echo "<input type='hidden' name='is_recursive' value='".$item->isRecursive()."'>";
new: echo "<input type='hidden' name='is_recursive' value='0'>";
I don't think this is a good solution from a development point of view, but now it works.
Offline