You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/06/11 00:26:26 UTC

[jira] Resolved: (WICKET-478) WicketTester.clickLink() does not recognize SubmitLink.

     [ https://issues.apache.org/jira/browse/WICKET-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw resolved WICKET-478.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.3.0-beta3)
                   1.3.0-beta2
         Assignee: Alastair Maw

Fixed in r545956 to cope with any AbstractLink.

> WicketTester.clickLink() does not recognize SubmitLink.
> -------------------------------------------------------
>
>                 Key: WICKET-478
>                 URL: https://issues.apache.org/jira/browse/WICKET-478
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.5, 1.3.0-beta1
>         Environment: Debian Etch, Sun Java 1.5, Eclipse.  Error reproduced in wicket versions 1.2.5 and 1.3.
>            Reporter: Joseph Brunner
>            Assignee: Alastair Maw
>            Priority: Minor
>             Fix For: 1.3.0-beta2
>
>
> Calling the WicketTester.clickLink() method on a SubmitLink results in the error:
> wicket.WicketRuntimeException: Link {PATH_TO_LINK} is  not  a Link, AjaxLink, AjaxFallbackLink or AjaxSubmitLink.
> where {PATH_TO_LINK} is the path provided to the SubmitLink.  Ideally, clickLink() should recognize the SubmitLink as a valid link and duplicate the act of clicking it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.