What is error during sync listener execution?
Every time i create a new Workspace and then a File or Folder, nuxeo doesnt show me the containers for Name and Description, by reading my server.log i found that everytime i try to create a container inside another container for the first time this ERROR appears Error during sync listener execution, and i give it a second try then the error goes away, so my question is, what is this all about? i have nuxeo dm and MySql
If you used Studio, in fact you have to add these following schema (into the first tab, below) into your Workspace Type Definition:
- publishing
- webc
We identified this problem, we miss to add these schema by default when you extends the Workspace Type.
But if you create your Document by yourself, If you look the ERROR you see:
Document '/default-domain/workspaces/Error found in workspace'
with title 'Error found in workspace' and type 'Workspace'
does not have any schema with prefix 'webc'
That's mean the type Workspace doesn't implement the webcontainer.xsd schema. But this type by default in Nuxeo DM implements this schema:
<doctype name="Workspace" extends="Folder">
<!-- for logo -->
<schema name="file"/>
<schema name="webcontainer"/>
<schema name="publishing"/>
<!-- the content of webcontainer -->
...
So add it to your document type.
Hope this is the solution :D Did you override this type without the web container schema?
> 2011-11-08 16:20:14,853 ERROR [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Error during sync listener execution org.nuxeo.ecm.core.api.model.PropertyNotFoundException: Property not found: webc:url. Document '/default-domain/workspaces/Error in Workspace' with title 'Error in Workspace' and type 'Workspace' does not have any schema with prefix 'webc'
…
2011-11-08 16:20:14,963 WARN [org.nuxeo.ecm.platform.el.DocumentModelResolver] Property not found: webc:isWebContainer. Document 'c21b0d55-4c70-4212-90ec-915f5f24a02a' with title 'Error in Workspace' and type 'Workspace' does not have any schema with prefix 'webc'