spring-projects / spring-webflow

Spring Web Flow
https://spring.io/projects/spring-webflow
322 stars 228 forks source link

FlowExecutionException#wrap(Exception e) doesn't retain cause... [SWF-559] #1376

Closed spring-operator closed 16 years ago

spring-operator commented 16 years ago

Eric Bottard opened SWF-559 and commented

... when the flow was not active. Why is that ? I'm used to triggering a new flow execution by going to /.../myFlowId

When using Spring Security integration and having secured the whole flow, an AccessDeniedException is thrown (which is good) but then it is rethrown as a FlowExecutionException without a cause.

Hence, Spring Security's ExceptionTranslationFilter can't unwrap it and initiate a login process.

Is there any good reason not to wrap the exception (be it Spring Security or anything else) ?


Affects: 2.0 M4

spring-operator commented 16 years ago

Keith Donald commented

This was a bug fixed since since M4. Can you try a nightly snapshot and retest? Thanks