You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org> on 2011/05/27 11:26:47 UTC

[jira] [Commented] (MYFACESTEST-52) ValueExpression mocks cannot return types for null references

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

Rudy De Busscher commented on MYFACESTEST-52:
---------------------------------------------

Isn't it easier to just return the expectedType passed in as constructor parameter?

> 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
>         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