EAP 7 redisplays the old model value on @NotNull validation error when setting INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true

Solution Unverified - Updated -

Issue

EAP 7 redisplays the old model value on @NotNull validation error when setting javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL to true in web.xml:

<context-param>
    <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>
    <param-value>true</param-value>
</context-param>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.0.x
  • JSF / Bean Validation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content