cancel
Showing results for 
Search instead for 
Did you mean: 

What is error during sync listener execution?

lethal2k18_
Champ on-the-rise
Champ on-the-rise

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

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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?

View answer in original post

5 REPLIES 5

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Can you give us your listener code/purpose and the ERROR from your logs.

lethal2k18_
Champ on-the-rise
Champ on-the-rise

This is the content of my server.log at the moment i try to create a new folder as i mentioned before

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

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?

My guess is the overriding was done by import the default DM config template in Studio

It was the overriding in Studio, like Thierry mentioned, but the New Folder keeps showing me "blank" spaces, i mean whitout the Name and Description containers, the error goes away, but the containers are not displayed, so what could it be?