Hi,
using a template with a DateTime field, filling a new request then submit it lead to this error:
PHP Catchable fatal error: Object of class DateTime could not be converted to string in /var/www/html/itop/env-production/templates-base/model.templates-base.php on line 457, referer: https://10.4.1.129/portal/index.php?operation=create_request
Fields is: "Input type Date", non mandatory
A date is provided from the calendar input (not typed).
Attached is a simple patch for this particular issue, it must be filled with all type handled by request templates which need to be converted (which I will probably do as I guess I will need it to work as expected.)
Env: Itop 2.2.3 freshly updated from the 2.2.1-2658 release :
iTop version 2.3.1-2832 built on 2016-07-08 15:33:14
Data model: 2.3.0
MySQL: 5.5.55-0+deb8u1
PHP: 5.6.30-0+deb8u1
Request Templates (2.0.0)
Looks like this was fixed in https://wiki.openitop.org/doku.php?id=extensions:request-templates version 2.0.5 in conjonction with iTop 2.3.2