[Hippo-cms7-user] Re: Link Picker/Hippo:Mirror Issue

mvanbergen mvanbergen at gmail.com
Mon Sep 27 14:59:42 CEST 2010


Thank you everyone for your help and comments.

I understand that the path is the vital piece of information which
distinguishes two fields of the same type.  However, I am not having any
success in adding two String fields to the same form.  

Here is the scenario:
1.  I created a simple doc template with the following fields:  Title
(String), Description (Formatted Text), Date (Date), Download (DocBase).  

2.  I need to add another String field with a path of "phase" and caption of
"Phase".  When I add the new String field to the form, I notice that right
away the path variable is set to the same path value as Title (the other
String field on the form).  As soon as I give focus to the field to change
it to "phase", it disappears from the form and an exception is thrown to the
log file:


27.09.2010 07:56:23 ERROR
[org.hippoecm.editor.type.JcrTypeDescriptor.addField():199]
/hippo:namespaces/iuhealthpublic/resource/hipposysedit:nodetype/hipposysedit:nodetype[13]/string
javax.jcr.ItemExistsException:
/hippo:namespaces/iuhealthpublic/resource/hipposysedit:nodetype/hipposysedit:nodetype[13]/string
	at
org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:782)
	at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:734)
	at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:682)
	at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2115)
	at
org.hippoecm.repository.decorating.NodeDecorator.addNode(NodeDecorator.java:84)
	at
org.hippoecm.repository.decorating.checked.NodeDecorator.addNode(NodeDecorator.java:138)
	at
org.hippoecm.editor.type.JcrTypeDescriptor.addField(JcrTypeDescriptor.java:193)
	at
org.hippoecm.frontend.editor.builder.TemplateBuilder$BuilderTypeDescriptor.addField(TemplateBuilder.java:358)
	at
org.hippoecm.frontend.editor.builder.TemplateListPlugin$CategoryView$1.onClick(TemplateListPlugin.java:163)
	at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68)
	at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
	at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286)
	at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
	at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
	at
org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:95)
	at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
	at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
	at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
	at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
	at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
	at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
	at
org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
	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:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	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:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)


Looking at my parent pom.xml file, here are the versions that were used when
I created my initial CMS and site projects: 

<hst-configuration-editor.version>1.04.00</hst-configuration-editor.version>
<hippoecm.version>2.16.01</hippoecm.version>
<hst.version>2.05.01</hst.version>

I am also using FireFox v3.6.8.

Any thoughts? 

Thanks,
Matt
-- 
View this message in context: http://hippo.2275632.n2.nabble.com/Link-Picker-Hippo-Mirror-Issue-tp5573336p5574804.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list