Attachments are lost when the status of the ticket is changed
Steps to reproduce:
- Edit ticket
- Select a file to attach
- The file appears at Files section
- Change issue status to other state
Right after the status change, the file listed at Files section, is removed, and the error above is printed on browser console.