[ https://issues.apache.org/jira/browse/WICKET-6076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096403#comment-15096403 ]
Fridolin Jackstadt commented on WICKET-6076: -------------------------------------------- Different error in 7.2.0-SNAPSHOT: {noformat} Detach called on component with id 'outer' while it had a non-empty queue: ComponentQueue{queueSize=1, queue=[[WebMarkupContainer [Component id = test]] {noformat} > Problem with queued components and enclosure > -------------------------------------------- > > Key: WICKET-6076 > URL: https://issues.apache.org/jira/browse/WICKET-6076 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 7.1.0 > Reporter: Fridolin Jackstadt > Attachments: wicket-queuing.zip > > > Quickstart is attached. > {code:title=HomePage.java|borderStyle=solid} > WebMarkupContainer outer = new WebMarkupContainer("outer"); > WebMarkupContainer test = new WebMarkupContainer("test"); > add(outer); > outer.queue(test); > {code} > {code:title=HomePage.html|borderStyle=solid} > <div wicket:id="outer"> > <div wicket:enclosure="test"> > <p wicket:id="test">test</p> > </div> > </div> > {code} > Result: > {noformat} > org.apache.wicket.WicketRuntimeException: Could not find child with id: test > in the wicket:enclosure > at > org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:300) > at > org.apache.wicket.markup.html.internal.Enclosure.getChildComponent(Enclosure.java:278) > at > org.apache.wicket.markup.html.internal.Enclosure.getChild(Enclosure.java:138) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)