Hi,
in my application all methods annotated with @Before ot @After are
being executed twice. The full log is below. The methods are defined
in an abstract base class which SearchActionBean extends.
Also methods init() and isLogged() are annotated with @After but the
log reads @Before:
@
The fact that methods annotated with @After are logged as @Before
is definitely a bug - could you please open a JIRA issue and
assign it to me?
As for methods being called twice, I'll look into that as well.
Thanks for reporting this.
Cheers,
Freddy
http://www.stripesbook.com
On Fri, 20 Feb 200
Long shot: are you using Stripes 1.5 and declaring
BeforeAfterMethodInterceptor inside web.xml under the key
Interceptor.Classes?
On Fri, Feb 20, 2009 at 9:23 PM, zkn wrote:
> Hi,
> in my application all methods annotated with @Before ot @After are being
> executed twice. The full log is below.
On 20.02.2009, at 22:48, Levi Hoogenberg wrote:
Long shot: are you using Stripes 1.5
Yes, I upgraded to 1.5 few days ago together with adding Spring classes.
and declaring BeforeAfterMethodInterceptor inside web.xml under the
key Interceptor.Classes?
Yes
Interceptor.Cla
On 20-02-2009 at 23:18, zkn wrote:
>
> On 20.02.2009, at 22:48, Levi Hoogenberg wrote:
>
>> Long shot: are you using Stripes 1.5
>
> Yes, I upgraded to 1.5 few days ago together with adding Spring classes.
>
>> and declaring BeforeAfterMethodInterceptor inside web.xml under the
>> key Interceptor
Thanks, that solved the problem.
Perhaps Stripes' online documentation should be updated as it still
points that BeforeAfterMethodInterceptor should be declared in web.xml.
http://www.stripesframework.org/display/stripes/Intercept+Execution
http://www.stripesframework.org/display/stripes/Spring
On 20.02.2009, at 22:40, Freddy Daoud wrote:
> The fact that methods annotated with @After are logged as @Before
> is definitely a bug - could you please open a JIRA issue and
> assign it to me?
I opened a JIRA issue http://www.stripesframework.org/jira/browse/STS-649
but I can't assign it.
> I opened a JIRA issue http://www.stripesframework.org/jira/browse/STS-649
> but I can't assign it.
Thanks, I committed a fix.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tack
> Perhaps Stripes' online documentation should be updated as it still
> points that BeforeAfterMethodInterceptor should be declared in web.xml.
>
> http://www.stripesframework.org/display/stripes/Intercept+Execution
> http://www.stripesframework.org/display/stripes/Spring+with+Stripes
Good poin
On 21.02.2009, at 18:53, Freddy Daoud wrote:
>> Perhaps Stripes' online documentation should be updated as it still
>> points that BeforeAfterMethodInterceptor should be declared in
>> web.xml.
>>
>> http://www.stripesframework.org/display/stripes/Intercept+Execution
>> http://www.stripesframew
Was this just a logging error or the annotated methods were really
being executed before the defined cycles?
On 21.02.2009, at 18:38, Freddy Daoud wrote:
>> I opened a JIRA issue http://www.stripesframework.org/jira/browse/STS-649
>> but I can't assign it.
>
> Thanks, I committed a fix.
>
> --
Just a logging error. The message was hardcoded to @Before.
On Mon, 23 Feb 2009 14:34:39 +0200, "zkn" said:
> Was this just a logging error or the annotated methods were really
> being executed before the defined cycles?
>
> On 21.02.2009, at 18:38, Freddy Daoud wrote:
>
> >> I opened a JIRA
12 matches
Mail list logo