]
Bartosz Baranowski reassigned WFLY-13484:
-----------------------------------------
Assignee: Chao Wang (was: Farah Juma)
JSF - submitting empty fields does not work
-------------------------------------------
Key: WFLY-13484
URL:
https://issues.redhat.com/browse/WFLY-13484
Project: WildFly
Issue Type: Bug
Components: JSF
Affects Versions: 19.1.0.Final
Reporter: Frank Heldt
Assignee: Chao Wang
Priority: Major
A simple JSF webapp with an input field
<p:inputMask value="#\{myCtrl.num\}" mask="?9999"
slotChar="" size="4" maxlength="4"/>
and in the controller
private Short num; // + getter/setter
When the input field is empty, the setter is never called on submit.
The same webapp under WildFly 19.0.0 works as expected, in this case the setter is called
with a null value.