You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ernesto Reinaldo Barreiro (JIRA)" <ji...@apache.org> on 2018/02/15 17:09:00 UTC

[jira] [Commented] (WICKET-6538) improve error reporting when markup is not found

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

Ernesto Reinaldo Barreiro commented on WICKET-6538:
---------------------------------------------------

Project illustrating problem can be found at 

https://github.com/reiern70/visibility.git

 

> improve error reporting when markup is not found
> ------------------------------------------------
>
>                 Key: WICKET-6538
>                 URL: https://issues.apache.org/jira/browse/WICKET-6538
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.9.0, 8.0.0-M8
>            Reporter: Ernesto Reinaldo Barreiro
>            Priority: Minor
>
> In 
> [http://apache-wicket.1842946.n4.nabble.com/markup-not-found-on-feedback-panel-wicket-7-4-td4679799.html]
>  
> We describe a situation where component is not visible and no markup for it is presents and later on this component is updated via ART. In this case an exception is produced but provided info is very vague and does not helps in spotting failing components.
> org.apache.wicket.markup.MarkupNotFoundException: Markup not found for 
> Component: [FencedFeedbackPanel [Component id = feedback]] 
> at org.apache.wicket.Component.internalRender(Component.java:2348) 
> at org.apache.wicket.Component.render(Component.java:2308) 
> at 
> org.apache.wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java:119) 
> at 
> org.apache.wicket.page.PartialPageUpdate.writeComponents(PartialPageUpdate.java:248) 
> at 
> org.apache.wicket.page.PartialPageUpdate.writeTo(PartialPageUpdate.java:161) 
> at 
> org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:358) 
> at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) 
> at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) 
> at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97) 
> a
>  
> It would be nice to improve produced message (e.g. print component path)
>  
>  
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)