myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2565) BeanValidator throws Exception if external ExpressionLanguageFactory is being used
Date Thu, 25 Feb 2010 23:46:28 GMT

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

Mark Struberg commented on MYFACES-2565:
----------------------------------------

found an issue which may be related with commenting out the section above:

In some very rare cases I crash in 

        Class<?> valueBaseClass = valueReferenceWrapper.getBase().getClass();

because getBase() returns null.

I have no clue why this can happen, but may have something to do with my changes above. 

So maybe the "TODO" is likely a bit more work ;)

> BeanValidator throws Exception if external ExpressionLanguageFactory is being used
> ----------------------------------------------------------------------------------
>
>                 Key: MYFACES-2565
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2565
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta
>            Reporter: Mark Struberg
>
> Currently the BeanValidator has the following code:
> if (_ExternalSpecifications.isUnifiedELAvailable())
> {
>    //TODO: Implement when Unified EL for Java EE6 is available.
>    throw new FacesException("Unified EL for Java EE6 support is not yet implemented");
> }
> I'm using EL-2.2 in MyFaces-2.0.0-SNAPSHOT and now switched from using facelets-1.1.15.B1
to the built-in facelets-2.
> After that I get this rather unfunny Exception in the code above.
> I tried to remove this condition in BeanValidator and so far all works well. Afaik the
new EL-2.1 interface should be backward compatible to the EL of JSF-2.1, isn't?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message