[
https://issues.apache.org/jira/browse/WICKET-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999004#comment-12999004
]
Pedro Santos commented on WICKET-3471:
--------------------------------------
AjaxLink has an AjaxEventBehavior that do not override
Behavior#canCallListenerInterface, so invoking the behavior when its component
is not enabled is not allowed, this is the default policy.
TestBehaviorDisabledComponentAllowed override the canCallListenerInterface to
allow the use case at 'testBehaviorOnDisabledComponentAllowed()'
> WicketTester checkUsability is called before the request has started
> --------------------------------------------------------------------
>
> Key: WICKET-3471
> URL: https://issues.apache.org/jira/browse/WICKET-3471
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.15
> Reporter: Emond Papegaaij
> Attachments: WICKET-3471.patch, WICKET-3471.patch, quickstart.tar.bz2
>
>
> For example, when clicking a link, the checkUsability method is called with
> the link before RequestCycle.onBeginRequest has been called. This causes
> tests to fail when, for example, the link has a security check that requires
> the request cycle. I've created a quickstart that demonstrates the problem.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira