myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-2497) INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL on required fields
Date Tue, 16 Jan 2018 20:35:01 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327751#comment-16327751
] 

Thomas Andraschko commented on MYFACES-2497:
--------------------------------------------

[~wtlucy] [~eduardobreijo] Should also be fixed now?

> INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL on required fields
> ------------------------------------------------------------------
>
>                 Key: MYFACES-2497
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2497
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ingo Hofmann
>            Priority: Major
>         Attachments: interpret_empty_string_testcase.patch, interpret_empty_strings_setValue.patch
>
>
> Similar issue as seen in 1.1.6 and 1.2.6.
> 1.) set property javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL = true.
> 2.) Have an input field with required="true".
> 3.) User enters empty string.
> 4.) After submitted the form, the input field shows its previous value (is not empty,
as entered before and expected).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message