wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernesto Reinaldo Barreiro <reier...@gmail.com>
Subject Re: markup not found on feedback panel (wicket 7.4)
Date Thu, 15 Feb 2018 10:26:09 GMT
Hi.

Just a follow up...  Issue was as follows.

- Application contains many dialogs (jquery modal). In some dialog A there
was a feedback panel ("feedback"). This feedback panel was set visible =
false
- Dialog B extended dialog A and also provided a B.html but this panel did
not contain a DIV for "feedback". As this component was invisible panel B
just rendered fine. Feedback panel is never rendered (no error messages).
And user closes the modal panel B and continues doing things on application.
- Later on application has some other logic with a visitor that adds all
feedback panels to an ART... and then we get message above.

As application has many feedback panels and this happens few "steps/user
actions" after panel B is used this was rather disconcerting. Fortunately
we manage to and spot/fix problem (provide "feedback markup on B").

See this problem illustrated in a very simple quick-start application

https://github.com/reiern70/visibility

My questions are.

-Could this be prevented by wicket somehow?
- If not, at least provide a more meaningful/helpful error message (e.g
context in which markup is not found)?




On Thu, Feb 8, 2018 at 6:44 AM, Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> Hi,
>
> On one application we are getting sporadic errors like
>
> 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
>
> Error is not always produced. I have been checking JIRA and the only thing
> I have found that looks similar is
>
> https://issues.apache.org/jira/browse/WICKET-6027
>
> But we are on 7.4 and it does not seem to be the same combination of
> factors. If we could avoid going to newer versions and find why and
> "workaround" that would be ideal.
>
> Any hints? Related know issues?
>
> --
> Regards - Ernesto Reinaldo Barreiro
>



-- 
Regards - Ernesto Reinaldo Barreiro

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message