[Hippo-cms7-user] Re: Update documenttypes

Rita Bijlsma r.bijlsma at onehippo.com
Mon Feb 22 16:44:56 CET 2010


On Mon, Feb 22, 2010 at 3:55 PM, MaartenR <rossles at gmail.com> wrote:

>
> 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<http://www.hippoecm.org/hst/nt/ivho/1.0%7Dwijzigingsdatum>
>
> javax.jcr.nodetype.ConstraintViolationException: no matching property
> definition found for
> {http://www.hippoecm.org/hst/nt/ivho/1.0}wijzigingsdatum<http://www.hippoecm.org/hst/nt/ivho/1.0%7Dwijzigingsdatum>
>
>        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?
>

It may be a bug in the update all content. I will get someone to look at it.

Best regards,
                        Rita


>
> 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.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/community.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20100222/3fd024e4/attachment.htm>


More information about the Hippo-cms7-user mailing list