You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2017/08/30 14:18:00 UTC

[jira] [Comment Edited] (MYFACES-3019) Output a warning if VisitContext.getIdsToVisit() contains id(s) of nonexistent component

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

Thomas Andraschko edited comment on MYFACES-3019 at 8/30/17 2:17 PM:
---------------------------------------------------------------------

I think this is a good improvement.
[~lu4242] Whats a good place for doing this? I would just loop them, try a invokeOnComponent and log a warning if not found. Of course only if ProjectStage==Development

Probably its enough to do this for PartialViewContext executeIds and RenderIds, not sure if it's required for every "visit".


was (Author: tandraschko):
I think this is a good improvement.
[~lu4242] Whats a good place for doing this? I would just loop them, try a invokeOnComponent and log a warning if not found. Of course only if ProjectStage==Development

> Output a warning if VisitContext.getIdsToVisit() contains id(s) of nonexistent component
> ----------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3019
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3019
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 2.0.4-SNAPSHOT
>         Environment: myfaces code 2.0.4 trunk rev. 1061168
>            Reporter: Martin Kočí
>            Priority: Minor
>
> If VisitContext.getIdsToVisit() contains "nonexistentId"  of component, myfaces say nothing. It would be useful output a warning (in development stage). I noticed this problem with MYFACES-3018, because of that request contains javax.faces.partial.execute =  "nonexistentId" and execution silently fails.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)