You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2009/07/18 12:38:14 UTC

[jira] Updated: (WICKET-2378) FormTester should call detach

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

Peter Ertl updated WICKET-2378:
-------------------------------

    Attachment: form_tester_detach.patch

> FormTester should call detach
> -----------------------------
>
>                 Key: WICKET-2378
>                 URL: https://issues.apache.org/jira/browse/WICKET-2378
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Peter Ertl
>         Attachments: form_tester_detach.patch
>
>
> So after closing WICKET-2377 and thinking it was my fault it actually wasn't...
> When calling tester.newFormTester() the constructor of FormTester attaches model objects when visiting the form's children. it should detach these models again:
>   *** no models attached
>      tester.newFormTester("form")
>   *** models are attached now!!
> Patch included. It compiles clean with current trunk. Please integrate it before going final. The current behavior is different from running wicket on a web server so test cases are not testing the real behavior of wicket.

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