[
https://issues.apache.org/jira/browse/TRINIDAD-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822661#comment-13822661
]
Scott O'Bryan commented on TRINIDAD-2409:
-----------------------------------------
This was added to 2.1.0-core:
r1515879 | jwaldman | 2013-08-20 17:00:57 +0000 | 2 lines
Changed paths:
M
/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/webapp/UIXComponentELTag.java
M
/myfaces/trinidad/trunk/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/LoggerBundle.xrts
TRINIDAD-2409 improve diagnostics during tag execution component binding
failures
Thanks to Pavitra Subramaniam for the patch
> 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
> Fix For: 2.1.0-core
>
> Attachments: jira-2409.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)