[Hippo-cms7-user] Re: Update documenttypes

MaartenR rossles at gmail.com
Mon Feb 22 15:55:58 CET 2010


Hi Rita,

Today I tested the mentioned approach on our test server. After adding the
field to the documenttype I did a 'Update all content'. The CMS succesfully
updated the content, no errors were given in the CMS log. After restarting
the site the webpage seemed ok. But when I logged into the CMS all document
fields were empty in the content editor. When trying to edit a document
error messages like these appear in the CMS log: 

22.02.2010 16:30:28 ERROR
[org.hippoecm.frontend.editor.model.ValueTemplateProvider.addNew():99] no
matching 
property definition found for
{http://www.hippoecm.org/hst/nt/ivho/1.0}wijzigingsdatum

javax.jcr.nodetype.ConstraintViolationException: no matching property
definition found for 
{http://www.hippoecm.org/hst/nt/ivho/1.0}wijzigingsdatum

        at
org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(Effective
NodeType.java:768)
        at
org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:912)
        at
org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:442)
        at
org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:376)
        at
org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2402)
        at
org.hippoecm.repository.decorating.NodeDecorator.setProperty(NodeDecorator.java:103)
        at
org.hippoecm.repository.decorating.checked.NodeDecorator.setProperty(NodeDecorator.java:146)
        at
org.hippoecm.frontend.editor.model.ValueTemplateProvider.addNew(ValueTemplateProvider.java:91)
        at
org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.newProvider(Property
FieldPlugin.java:126)
        at
org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.newProvider(Property
FieldPlugin.java:47)
        at
org.hippoecm.frontend.editor.plugins.field.FieldPlugin.updateProvider(FieldPlugin.java:119)
        at
org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.<init>(PropertyFieldPlugin.java:85)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegating
ConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at
org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:71)
        at
org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
        at
org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:248)
        at
org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:112)
        at
org.hippoecm.frontend.editor.editor.EditorForm.createTemplate(EditorForm.java:150)
        at
org.hippoecm.frontend.editor.editor.EditorForm.<init>(EditorForm.java:94)
        at
org.hippoecm.frontend.editor.editor.EditorPlugin.newForm(EditorPlugin.java:92)
        at
org.hippoecm.frontend.editor.editor.EditorPlugin.<init>(EditorPlugin.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegating
ConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at
org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:71)
        at
org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:84)
        at
org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:248)
        at
org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:112)
        at
org.hippoecm.frontend.plugins.cms.edit.AbstractCmsEditor.start(AbstractCmsEditor.java:252)
        at
org.hippoecm.frontend.plugins.cms.edit.HippostdPublishableEditor.start(Hippostd
PublishableEditor.java:78)
        at
org.hippoecm.frontend.plugins.cms.edit.AbstractCmsEditor.setMode(AbstractCmsEditor.java:168)
        at
org.hippoecm.frontend.plugins.cms.edit.HippostdPublishableEditor.refresh(Hippostd
PublishableEditor.java:100)
        at
org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin.refresh(EditorManagerPlugin.java:144)
        at org.hippoecm.frontend.Home.processEvents(Home.java:137)
        at
org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:37)
        at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
        at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
        at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
        at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11
AprProtocol.java:574)
        at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
        at java.lang.Thread.run(Thread.java:636) 


Any idea what went wrong?

Best regards,
Maarten
-- 
View this message in context: http://n2.nabble.com/Update-documenttypes-tp4499826p4612549.html
Sent from the Document Types mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list