UserInputpanel password field with wrong behavior when use password and retype-password field

Description

When use password field with PasswordEqualityValidator and variable to want set has previous value the first password field there is a correct value, but the second password field (retype-password) is empty.

Example:

<field type="password" align="left" variable="password">
<spec>
<pwd txt="The Password:" size="25" set=""/>
<pwd txt="Retype Password:" size="25" set=""/>
</spec>
<validator class="com.izforge.izpack.panels.userinput.validator.PasswordEqualityValidator"
txt="Both passwords must match." id="lang pack key for the error text"/>
</field>

In this situation on the top, if the "password" variable have some value, the problem will appear.

Environment

None

Assignee

Unassigned

Reporter

Guilherme Mota

Impact

API - may break existing custom implementations

Components

Affects versions

Priority

High
Configure