I have 3 systems with OS tickets, two of them migrated to 1.18 without problems, this one always gave an error. that's why I migrated to 10 because that's where the problem arises and so i can have a clear view on logs.
However I found the problem, in the ost_form table by eliminating the last value the update occurs correctly:
(1, 'U', 1, 'Contact Information', NULL, NULL, '2014-07-03 09:32:56', '2014-07-03 09:32:56'),
(2, 'T', 1, 'Ticket Details', 'Please Describe Your Issue', 'This form will be attached to every ticket, regardless of its source. You can add any fields to this form and they will be available to all tickets, and will be searchable with advanced search and filterable.', '2014-07-03 09:32:56', '2015-02-27 14:01:42'),
(3, 'C', 1, 'Company Information', 'Details available in email templates', NULL, '2014-07-03 09:32:56', '2014-07-03 09:32:56'),
(4, 'O', 1, 'Organization Information', 'Details on user organization', NULL, '2014-07-03 09:32:56', '2014-07-03 09:32:56'),
(5, 'L1', 1, 'Ticket Status Properties', 'Properties that can be set on a ticket status.', NULL, '2015-02-26 17:55:49', '2015-02-26 17:55:49'),
(6, 'T', 1, 'Dettagli Ticket', 'Prego, descriva il suo problema', 'form per i ticket in italiano', '2015-03-04 15:47:49', '2015-03-05 17:55:06');
Now i will proceed to 1.18