[
https://issues.apache.org/jira/browse/MYFACESTEST-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rudy De Busscher updated MYFACESTEST-52:
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.4-SNAPSHOT
Assignee: Rudy De Busscher
Status: Resolved (was: Patch Available)
Modified the submitted patch code so that the proposed code is only run when
getValue() returns null. Otherwise, there are scenarios where a concrete
result (like String.class) is lost (return of Object.class). See
org.apache.myfaces.test.el.MockValueExpressionTest#testGetType
> ValueExpression mocks cannot return types for null references
> -------------------------------------------------------------
>
> Key: MYFACESTEST-52
> URL: https://issues.apache.org/jira/browse/MYFACESTEST-52
> Project: MyFaces Test
> Issue Type: Improvement
> Components: Mock Objects
> Reporter: Matt Benson
> Assignee: Rudy De Busscher
> Fix For: 1.0.4-SNAPSHOT
>
> Attachments: MYFACESTEST-52.patch.txt
>
>
> For example, MyFaces cannot deduce the proper converter for a given
> UIComponent if the target of its 'value' binding is null. Delegating to
> ELResolver.getType() fixes this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira