You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/11/01 18:24:16 UTC

[jira] Created: (MYFACES-1486) Error Handling in Property-Resolver-Impl

Error Handling in Property-Resolver-Impl
----------------------------------------

                 Key: MYFACES-1486
                 URL: http://issues.apache.org/jira/browse/MYFACES-1486
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
            Reporter: Martin Marinschek
         Assigned To: Martin Marinschek
             Fix For: 1.1.5-SNAPSHOT


MyFaces currently doesn't handle the case of null-values for the "base" parameter in the calls to methods of PropertyResolverImpl. This is bad for user-feedback - they never know that a bean that they supplied was spelled wrongly or is null. It's ok for the VariableResolverImpl to return null if the resolved bean is null, and ok for the PropertyResolverImpl to return null if the supplied property-name resolves to null, but not if the supplied base is null!

regards,

Martin



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (MYFACES-1486) Error Handling in Property-Resolver-Impl

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1486?page=all ]

Martin Marinschek resolved MYFACES-1486.
----------------------------------------

    Resolution: Fixed

> Error Handling in Property-Resolver-Impl
> ----------------------------------------
>
>                 Key: MYFACES-1486
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1486
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>            Reporter: Martin Marinschek
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.5-SNAPSHOT
>
>
> MyFaces currently doesn't handle the case of null-values for the "base" parameter in the calls to methods of PropertyResolverImpl. This is bad for user-feedback - they never know that a bean that they supplied was spelled wrongly or is null. It's ok for the VariableResolverImpl to return null if the resolved bean is null, and ok for the PropertyResolverImpl to return null if the supplied property-name resolves to null, but not if the supplied base is null!
> regards,
> Martin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (MYFACES-1486) Error Handling in Property-Resolver-Impl

Posted by "Thomas Spiegl (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1486?page=all ]

Thomas Spiegl reopened MYFACES-1486:
------------------------------------

             
This behaviour (PropertyResolverImpl.getValue throws PropertyNotFoundException in case of base == NULL) breaks JSF 1.1 compatibility.


> Error Handling in Property-Resolver-Impl
> ----------------------------------------
>
>                 Key: MYFACES-1486
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1486
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>            Reporter: Martin Marinschek
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.5-SNAPSHOT
>
>
> MyFaces currently doesn't handle the case of null-values for the "base" parameter in the calls to methods of PropertyResolverImpl. This is bad for user-feedback - they never know that a bean that they supplied was spelled wrongly or is null. It's ok for the VariableResolverImpl to return null if the resolved bean is null, and ok for the PropertyResolverImpl to return null if the supplied property-name resolves to null, but not if the supplied base is null!
> regards,
> Martin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira