From users-return-93631-archive-asf-public=cust-asf.ponee.io@wicket.apache.org Thu Feb 15 11:42:34 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id BC11618064A for ; Thu, 15 Feb 2018 11:42:33 +0100 (CET) Received: (qmail 1444 invoked by uid 500); 15 Feb 2018 10:42:27 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 1433 invoked by uid 99); 15 Feb 2018 10:42:27 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2018 10:42:27 +0000 Received: from mail-pl0-f48.google.com (mail-pl0-f48.google.com [209.85.160.48]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id AA989C97 for ; Thu, 15 Feb 2018 10:42:26 +0000 (UTC) Received: by mail-pl0-f48.google.com with SMTP id h10so3578876plt.5 for ; Thu, 15 Feb 2018 02:42:26 -0800 (PST) X-Gm-Message-State: APf1xPAofZFTrftiNHI9TRtIrSD7eod8bHV8+OSCtj3WTjv0d5Z1+pSr c3lUF4Vz67VYrH4bKXN4HOcznxk2EREca9EcESQ= X-Google-Smtp-Source: AH8x226z2rrJxFc4eMid6PWxMgnNgN2lM5Y+fqVbj+/0xM0CUEZCxayWYXyN1YnPx4DI14A9mSXef9yNitkbnMcDXDs= X-Received: by 2002:a17:902:c81:: with SMTP id 1-v6mr2124842plt.281.1518691345242; Thu, 15 Feb 2018 02:42:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.164.9 with HTTP; Thu, 15 Feb 2018 02:41:44 -0800 (PST) In-Reply-To: References: From: Martin Grigorov Date: Thu, 15 Feb 2018 11:41:44 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: markup not found on feedback panel (wicket 7.4) To: "users@wicket.apache.org" Content-Type: multipart/alternative; boundary="00000000000028240b05653de28a" --00000000000028240b05653de28a Content-Type: text/plain; charset="UTF-8" On Thu, Feb 15, 2018 at 11:26 AM, Ernesto Reinaldo Barreiro < reiern70@gmail.com> wrote: > 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? > I do not see how. If the component is in the tree then the visitor will see it and add it to ART. > - If not, at least provide a more meaningful/helpful error message (e.g > context in which markup is not found)? > Definitely! Wicket can/should log the component path instead of just the component id. This will make it much easier to debug the problem. > > > > > 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 > --00000000000028240b05653de28a--