myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Comment Edited] (MYFACES-3019) Output a warning if VisitContext.getIdsToVisit() contains id(s) of nonexistent component
Date Wed, 30 Aug 2017 14:18:00 GMT

    [ 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)

Mime
View raw message