[MAGNOLIA-1790] Multipart form generated by Transporter (activation) doesn't play well with commons-fileupload Created: 20/Oct/07 Updated: 23/Jan/13 Resolved: 20/Oct/07 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | activation |
| Affects Version/s: | 3.1 M3 |
| Fix Version/s: | 3.5 RC1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Fabrizio Giustina | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
Looks like the request composed by info.magnolia.module.exchangesimple.Transporter doesn't actually follow standards (header separator missing), this causes a MalformedStreamException when the activation request is parsed by commons-fileupload: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly |
| Comments |
| Comment by Fabrizio Giustina [ 20/Oct/07 ] |
|
Looks like our fault was similar to the one traced in https://issues.apache.org/jira/browse/FILEUPLOAD-143 Transporter now correctly marks the end of streams with "--" |