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

Igor Vaynberg resolved WICKET-2378.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1
         Assignee: Igor Vaynberg

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.1
>
>         Attachments: form_tester_detach.patch, form_tester_detach_1_3_x.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.

Reply via email to