Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
2.01.00m06.3
-
None
-
None
Description
When clickin on document when logged in as author the following message is displayed:
WicketMessage: Same attribute found twice: class
[markup = jar:file:/home/berry/sjakiekonijn/quickstart/war/target/work/webapp/WEB-INF/lib/hippo-ecm-addon-reviewed-action-frontend-2.01.00-SNAPSHOT.jar!/org/hippoecm/frontend/plugins/reviewedactions/BasicReviewedActionsWorkflowPlugin.html
<!--
- Copyright 2007 Hippo
* - Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
* - http://www.apache.org/licenses/LICENSE-2.0
* - Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->
<html xmlns:wicket="http://wicket.apache.org/">
<wicket:panel>
<div class="actionspanel">
<span class="hideme" wicket:id="caption"></span>
<span class="hideme" class="documentStatus" wicket:id="status"/>
<span class="documentLocked" wicket:id="locked">Document is LOCKED</span>
<ul>
<li><button>Hallo</button></li>
<li><button>hoi</button></li>
<li><button>goeie dag</button></li>
<li><button>alles flex</button></li>
<li>
<a class="edit_ico" wicket:id="edit-dialog">Edit</a>
</li>
<li>
<a class="reqpublish_ico" wicket:id="requestPublication-dialog">Publish (request)</a>
</li>
<li>
<a class="reqdepublish_ico" wicket:id="requestDePublication-dialog">Take offline (request)</a>
</li>
<li>
<a class="reqdelete_ico" wicket:id="requestDeletion-dialog">Delete (request)</a>
</li>
</ul>
</div>
</wicket:panel>
</html>
, index = 5, current = [Raw markup]]
Root cause:
java.text.ParseException: Same attribute found twice: class
at org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637)
at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288)
at org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423)
at org.apache.wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:77)
at org.apache.wicket.markup.parser.filter.TagTypeHandler.nextTag(TagTypeHandler.java:76)
at org.apache.wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:78)
at org.apache.wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:60)
at org.apache.wicket.markup.parser.filter.WicketLinkTagHandler.nextTag(WicketLinkTagHandler.java:94)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
at org.apache.wicket.markup.parser.filter.WicketNamespaceHandler.nextTag(WicketNamespaceHandler.java:72)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
at org.apache.wicket.markup.parser.filter.WicketMessageTagHandler.nextTag(WicketMessageTagHandler.java:81)
at org.apache.wicket.markup.parser.filter.HeadForceTagIdHandler.nextTag(HeadForceTagIdHandler.java:77)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
at org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextTag(OpenCloseTagExpander.java:51)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
at org.apache.wicket.markup.parser.filter.EnclosureHandler.nextTag(EnclosureHandler.java:76)
at org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler.nextTag(RelativePathPrefixHandler.java:116)
at org.apache.wicket.markup.MarkupParser.getNextTag(MarkupParser.java:302)
at org.apache.wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:322)
at org.apache.wicket.markup.MarkupParser.parse(MarkupParser.java:270)
at org.apache.wicket.markup.loader.SimpleMarkupLoader.loadMarkup(SimpleMarkupLoader.java:52)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:62)
at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55)
at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:433)
at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:527)
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:319)
at org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:215)
at org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:343)
at org.apache.wicket.markup.html.ContainerWithAssociatedMarkupHelper.renderHeadFromAssociatedMarkupFile(ContainerWithAssociatedMarkupHelper.java:72)
at org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup.renderHeadFromAssociatedMarkupFile(WebMarkupContainerWithAssociatedMarkup.java:72)
at org.apache.wicket.markup.html.panel.Panel.renderHead(Panel.java:134)
at org.apache.wicket.ajax.AjaxRequestTarget$3.component(AjaxRequestTarget.java:988)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:829)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:869)
at org.apache.wicket.ajax.AjaxRequestTarget.respondHeaderContribution(AjaxRequestTarget.java:982)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:750)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:649)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:564)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1177)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Complete stack:
org.apache.wicket.markup.MarkupException: Same attribute found twice: class
[markup = jar:file:/home/berry/sjakiekonijn/quickstart/war/target/work/webapp/WEB-INF/lib/hippo-ecm-addon-reviewed-action-frontend-2.01.00-SNAPSHOT.jar!/org/hippoecm/frontend/plugins/reviewedactions/BasicReviewedActionsWorkflowPlugin.html
<!--
- Copyright 2007 Hippo
* - Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
* - http://www.apache.org/licenses/LICENSE-2.0
* - Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->
<html xmlns:wicket="http://wicket.apache.org/">
<wicket:panel>
<div class="actionspanel">
<span class="hideme" wicket:id="caption"></span>
<span class="hideme" class="documentStatus" wicket:id="status"/>
<span class="documentLocked" wicket:id="locked">Document is LOCKED</span>
<ul>
<li><button>Hallo</button></li>
<li><button>hoi</button></li>
<li><button>goeie dag</button></li>
<li><button>alles flex</button></li>
<li>
<a class="edit_ico" wicket:id="edit-dialog">Edit</a>
</li>
<li>
<a class="reqpublish_ico" wicket:id="requestPublication-dialog">Publish (request)</a>
</li>
<li>
<a class="reqdepublish_ico" wicket:id="requestDePublication-dialog">Take offline (request)</a>
</li>
<li>
<a class="reqdelete_ico" wicket:id="requestDeletion-dialog">Delete (request)</a>
</li>
</ul>
</div>
</wicket:panel>
</html>
, index = 5, current = [Raw markup]]
at org.apache.wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:393)
at org.apache.wicket.markup.MarkupParser.parse(MarkupParser.java:270)
at org.apache.wicket.markup.loader.SimpleMarkupLoader.loadMarkup(SimpleMarkupLoader.java:52)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:62)
at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55)
at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:433)
at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:527)
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:319)
at org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:215)
at org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:343)
at org.apache.wicket.markup.html.ContainerWithAssociatedMarkupHelper.renderHeadFromAssociatedMarkupFile(ContainerWithAssociatedMarkupHelper.java:72)
at org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup.renderHeadFromAssociatedMarkupFile(WebMarkupContainerWithAssociatedMarkup.java:72)
at org.apache.wicket.markup.html.panel.Panel.renderHead(Panel.java:134)
at org.apache.wicket.ajax.AjaxRequestTarget$3.component(AjaxRequestTarget.java:988)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:829)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:869)
at org.apache.wicket.ajax.AjaxRequestTarget.respondHeaderContribution(AjaxRequestTarget.java:982)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:750)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:649)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:564)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1177)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1248)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
Markup
The problem is in "jar:file:/home/berry/sjakiekonijn/quickstart/war/target/work/webapp/WEB-INF/lib/hippo-ecm-addon-reviewed-action-frontend-2.01.00-SNAPSHOT.jar!/org/hippoecm/frontend/plugins/reviewedactions/BasicReviewedActionsWorkflowPlugin.html":
<!--
- Copyright 2007 Hippo
* - Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
* - http://www.apache.org/licenses/LICENSE-2.0
* - Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->
<html xmlns:wicket="http://wicket.apache.org/">
<wicket:panel>
<div class="actionspanel">
<span class="hideme" wicket:id="caption"></span>
<span class="hideme" class="documentStatus" wicket:id="status"/>
<span class="documentLocked" wicket:id="locked">Document is LOCKED</span>
<ul>
<li><button>Hallo</button></li>
<li><button>hoi</button></li>
<li><button>goeie dag</button></li>
<li><button>alles flex</button></li>
<li>
<a class="edit_ico" wicket:id="edit-dialog">Edit</a>
</li>
<li>
<a class="reqpublish_ico" wicket:id="requestPublication-dialog">Publish (request)</a>
</li>
<li>
<a class="reqdepublish_ico" wicket:id="requestDePublication-dialog">Take offline (request)</a>
</li>
<li>
<a class="reqdelete_ico" wicket:id="requestDeletion-dialog">Delete (request)</a>
</li>
</ul>
</div>
</wicket:panel>
</html>
display page view