You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2009/12/12 14:47:18 UTC

[jira] Created: (MYFACES-2461) MissingResourceException while processing of must not be handled by the ExceptionHandler

MissingResourceException while processing of <f:loadBundle /> must not be handled by the ExceptionHandler
---------------------------------------------------------------------------------------------------------

                 Key: MYFACES-2461
                 URL: https://issues.apache.org/jira/browse/MYFACES-2461
             Project: MyFaces Core
          Issue Type: Task
          Components: JSR-314
    Affects Versions: 2.0.0-alpha-2
            Reporter: Jakob Korherr


Spec section »6.2 ExceptionHandler« describes some cases which must not be handled by the ExceptionHandler. One of them is:

- The case when a MissingResourceException is thrown during the processing of the <f:loadBundle /> tag.

However, mojarra currently does handle this Exception with its ExceptionHandler and the spec does not describe what to do with the MissingResourceException.

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


[jira] Commented: (MYFACES-2461) MissingResourceException while processing of must not be handled by the ExceptionHandler

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793223#action_12793223 ] 

Jakob Korherr commented on MYFACES-2461:
----------------------------------------

Maybe this is meant by the statement in the spec (copied from the description of f:loadBundle):

The Map must behave such that if a get() call is made for a key that does not exist in the Map, the literal string ???KEY??? is returned from the Map, where KEY is the key being looked up in the Map, instead of a MissingResourceException being thrown.

Any other ideas?

> MissingResourceException while processing of <f:loadBundle /> must not be handled by the ExceptionHandler
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2461
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2461
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Jakob Korherr
>
> Spec section »6.2 ExceptionHandler« describes some cases which must not be handled by the ExceptionHandler. One of them is:
> - The case when a MissingResourceException is thrown during the processing of the <f:loadBundle /> tag.
> However, mojarra currently does handle this Exception with its ExceptionHandler and the spec does not describe what to do with the MissingResourceException.

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