[OPENDJ-3918] Exceptions are not propagated through the RequestFilter of a RequestFilterChain Created: 23/Mar/17  Updated: 08/Nov/19  Resolved: 24/Mar/17

Status: Done
Project: OpenDJ
Component/s: core server
Affects Version/s: 4.0.0
Fix Version/s: 4.0.0

Type: Bug Priority: Blocker
Reporter: Yannick Lecaillez Assignee: Yannick Lecaillez
Resolution: Fixed Votes: 0
Labels: Verified

QA Assignee: Ondrej Fuchsik

 Description   

Per contract RequestFilter and RequestHandler are allowed to throws any Exception.

By allowing multiple RequestFilter to be chained, the RequestFilterChain must ensure that prior RequestFilter are notified whenever an Exception occurs in a filter executed after them.

Currently the Exception are not caught by the RequestFilterChain meaning that any exception occurring in the RequestFilter or RequestHandler will be caught by the RequestFilterChain caller directly by skipping all the RequestFilter.



 Comments   
Comment by Ondrej Fuchsik [ 24/Mar/17 ]

Issue verified with OpenDJ-4.0.0 rev d48c4c2e406ae07d94f25207402d144eb3ee8608.

Generated at Mon Nov 30 14:28:12 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.