[jboss-jira] [JBoss JIRA] (WFLY-11245) The old model value is redisplayed on @NotNull validation error with INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true

Jan Kašík (Jira) issues at jboss.org
Thu Oct 25 07:33:00 EDT 2018


Jan Kašík created WFLY-11245:
--------------------------------

             Summary: The old model value is redisplayed on @NotNull validation error with INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true
                 Key: WFLY-11245
                 URL: https://issues.jboss.org/browse/WFLY-11245
             Project: WildFly
          Issue Type: Bug
          Components: JSF
    Affects Versions: 15.0.0.Alpha1
            Reporter: Jan Kašík
            Assignee: Dmitrii Tikhomirov


When setting {{javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL}} to true, the old (or initial) model value is redisplayed on {{@NotNull}} validation error instead of the submitted value. 

A required submitted value, which is afterwards removed and re-submitted, should not reappear. 

This issue is reported in [JAVASERVERFACES_SPEC_PUBLIC-671|https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-671] and it's fixed in [the revision 0813ee1fdef418e47ef03ced7d57a1abe4c2bf54|https://github.com/javaserverfaces/mojarra/commit/0813ee1fdef418e47ef03ced7d57a1abe4c2bf54]. Please backport this to JBoss mojarra.





--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list