myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-4193) javax.faces.convert.EnumConverter.getAsString null value problem
Date Tue, 23 Jan 2018 16:18:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Nicolucci resolved MYFACES-4193.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> javax.faces.convert.EnumConverter.getAsString null value problem
> ----------------------------------------------------------------
>
>                 Key: MYFACES-4193
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4193
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: MYFACES-4193.patch
>
>
> public java.lang.String getAsString([FacesContext |file:///C:/Users/IBM_ADMIN/Desktop/Dev/JSF%202.3%20-%20Servlet%204%20Dev/final%20draft/javax.faces-api-2.3-javadoc/javadocs/javax/faces/context/FacesContext.html]context,
[UIComponent |file:///C:/Users/IBM_ADMIN/Desktop/Dev/JSF%202.3%20-%20Servlet%204%20Dev/final%20draft/javax.faces-api-2.3-javadoc/javadocs/javax/faces/component/UIComponent.html]component,
java.lang.Object value)
>  
> Parameters: {{context}} - [{{FacesContext}}|file:///C:/Users/IBM_ADMIN/Desktop/Dev/JSF%202.3%20-%20Servlet%204%20Dev/final%20draft/javax.faces-api-2.3-javadoc/javadocs/javax/faces/context/FacesContext.html]
for the request being processed {{component}} - [{{UIComponent}}|file:///C:/Users/IBM_ADMIN/Desktop/Dev/JSF%202.3%20-%20Servlet%204%20Dev/final%20draft/javax.faces-api-2.3-javadoc/javadocs/javax/faces/component/UIComponent.html]
with which this model object value is associated {{value}} - Model object value to be converted
(may be {{null}})
>  
> Returns: a zero-length String if value is {{null}}, otherwise the result of the conversion
>  
> Currently we return null if the value is null rather than a zero-length String ("")



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

Mime
View raw message