Details
Description
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.
Attachments
Issue Links
- is broken by
-
WICKET-6211 PasswordTextField should clear password by default
- Resolved