I found something weired. I save some Attachments to activiti, I write some custom protocol (about that user action) to another database and at the end I complete that usertask. In my own protocol are the attachements which I saved in activiti before and if I try to read my protocol, all the attachments has 0 bytes - in activiti everything is fine. I didnt found a reset on my Inputstream behind the createAttachment Method of TaskServiceImpl - is that correct? or is the reset only missing?
I think there should be a reset in the CreateAttachmentCmd - or maybe in the IoUtil.readInputStream? Hope someone can explain me that situation