[MAGNOLIA-3336] Multipart and Unicode filters do not release requests properly in case of errors Created: 25/Oct/10  Updated: 20/Feb/15  Resolved: 16/Nov/10

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.3.7
Fix Version/s: 4.4

Type: Bug Priority: Critical
Reporter: Jan Haderka Assignee: Jan Haderka
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
Date of First Response:

 Description   

CosMultipartFilter,MultipartFilter and UnicodeNormalization filter manage stack of request/response wrappers on their own and do not release those objects from the stack properly in case of errors the same way ContextFilter does.
They need to wrap chain execution in try block and make sure stack is updated after execution even in case of errors.



 Comments   
Comment by Tobias Mattsson [ 29/Nov/10 ]

Reviewed.

Generated at Mon Feb 12 03:45:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.