OST v1.10.1 (9ae093d)MySQL Version 5.5.56PHP Version 5.6.31When a ticket is opened via the client portal and files are uploaded into custom fields, sometimes we get this error log and some files are not wirtten to the DB. The user then opens a new topic with exactly the same files and the upload is successful.log: Duplicate entry '393053058-1549-E' for key 'file-type' ---- Backtrace ---- #0 (root)/include/mysqli.php(204): osTicket->logDBError('DB Error #1062', '[INSERT INTO `o...') #1 (root)/include/class.orm.php(3133): db_query('INSERT INTO `os...', true, true) #2 (root)/include/class.orm.php(597): MySqlExecutor->execute() #3 (root)/include/class.attachment.php(161): VerySimpleModel->save() #4 (root)/include/class.attachment.php(119): GenericAttachments->upload(Array, false, false) #5 (root)/include/class.forms.php(2764): GenericAttachments->keepOnlyFileIds(Array) #6 (root)/include/class.dynamic_forms.php(1181): FileUploadField->to_database(Array) #7 (root)/tickets.php(62): DynamicFormEntry->getChanges() #8 {main}