You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2016/07/24 18:43:20 UTC
[jira] [Assigned] (WICKET-6215) Test fail when non empty model is
set to PasswordTextField
[ https://issues.apache.org/jira/browse/WICKET-6215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier reassigned WICKET-6215:
----------------------------------
Assignee: Sven Meier
> Test fail when non empty model is set to PasswordTextField
> ----------------------------------------------------------
>
> Key: WICKET-6215
> URL: https://issues.apache.org/jira/browse/WICKET-6215
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 8.0.0-M1, 7.5.0
> Environment: JUnit tests with WicketTester.
> Reporter: Kevin Leturc
> Assignee: Sven Meier
>
> Since WICKET-6211 changes, when we set a non empty model to PasswordTextField, junit tests which try to start and assert rendered page failed.
> This is due to the clean of password text field model object, when component is detached, which makes the page dirty, then create a new page id and finally send a redirect. At the end we have an infinite loop in request execution, and test failed on "Possible infinite redirect detected. Bailing out.".
> One possible solution is to change the call setModelObject(null) (responsible of dirty state) by getModel().setObject(null) in PasswordTextField.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)