[
https://issues.apache.org/jira/browse/OWB-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Linstaedt reopened OWB-165:
--------------------------------
I have not figured what has changed, but the interceptors are called.
Unfortunately the interceptor stack grows per request, containing the same
interceptor bean multiple times.
This happens if a FaceletHandler, which evaluate the intercepted conversation
scoped bean (testController is my case) like
<c:if test="#{testController.show}">
[...]
</c:if>
and one starts a long running conversation, the interceptor stack of
testController grows on every (faces) request.
> Missing bean interception stack during TagHandler expression evaluation
> -----------------------------------------------------------------------
>
> Key: OWB-165
> URL: https://issues.apache.org/jira/browse/OWB-165
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Interceptor and Decorators
> Affects Versions: M3
> Reporter: Sven Linstaedt
> Assignee: Gurkan Erdogdu
> Fix For: M4
>
> Attachments: webapp-sources.jar, webapp.war
>
>
> Given a JSF controller bean, which should be intercepted by in simple
> interceptor. If one of it's methods is invoked via EL using a
> MethodExpression bound to a commandButton, the controller bean is called
> without interception stack (meaning: the interceptor is not called). If I
> invoke the same method from within another controller bean programmatically,
> the interception stack is in place and the interceptor is called.
> As far as I figured this issue out, the problem is due to the phase, when the
> bean is created. If you remove the <c:if test="#{testController.show}"> in
> the example, the interceptor is called.
> http://localhost:8080/interceptor.xhtml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.