You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/07/14 17:47:14 UTC
[jira] Resolved: (WICKET-2363) Two minor quick-to-fix quality bugs
in WicketTester
[ https://issues.apache.org/jira/browse/WICKET-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2363.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC8
Assignee: Juergen Donnerstag
thanks
> Two minor quick-to-fix quality bugs in WicketTester
> ---------------------------------------------------
>
> Key: WICKET-2363
> URL: https://issues.apache.org/jira/browse/WICKET-2363
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC7
> Reporter: Martin Makundi
> Assignee: Juergen Donnerstag
> Priority: Minor
> Fix For: 1.4-RC8
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> Bug 1:
> ---------------------------------------------
> BaseWicketTester.submitAjaxFormSubmitBehavior(final Component, AjaxFormSubmitBehavior):
> Why doesn't the following snipplet just use the "getForm()" method instead of reflection? There is getForm() method in AjaxFormSubmitBehavior already.
> Form<?> form = null;
> try
> {
> Field formField = AjaxFormSubmitBehavior.class.getDeclaredField("__form");
> formField.setAccessible(true);
> form = (Form<?>)formField.get(behavior);
> }
> catch (Exception e)
> Bug 2:
> ---------------------------------------------
> tester.executeAjaxEvent does not check whether a component is visible or not. It should not be allowed to execute ajax events on e.g., invisible buttons.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.