Create Attachment has no reset on Inputstream

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016 08:03 AM
Hello friends,
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
best wishes
turael
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

best wishes
turael
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017 09:39 AM
