You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pavitra Subramaniam (JIRA)" <de...@myfaces.apache.org> on 2013/08/20 03:20:52 UTC

[jira] [Created] (TRINIDAD-2409) improve diagnostics during tag execution component binding failures

Pavitra Subramaniam created TRINIDAD-2409:
---------------------------------------------

             Summary: improve diagnostics during tag execution component binding failures
                 Key: TRINIDAD-2409
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2409
             Project: MyFaces Trinidad
          Issue Type: Improvement
    Affects Versions: 2.0.1-core
            Reporter: Pavitra Subramaniam


2 places where error reporting can be improved is in 

1.  UIXComponentELTag.doStartTag()
We could add a try/catch around the super.doStartTag(), do some severe logging (eg.log a scoped id) in response to exceptions, and re-throw. 

2.  UIXComponentELTag.createComponent()
This might be a reasonable place to detect the cases where a component that you pull out of a component binding during createComponent() is already attached to some component tree- and thus the (severe) error is justified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira