Can't create document in Nuxeo 5.6.0-HF01
I can't create a document , I get “No such mixin: Indexable” ?
Caused by: org.nuxeo.ecm.core.api.DocumentException: java.lang.IllegalArgumentException: No such mixin: Indexable at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.addFacet(SQLDocumentLive.java:625) at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:829) ... 106 more Caused by: java.lang.IllegalArgumentException: No such mixin: Indexable at org.nuxeo.ecm.core.storage.sql.Node.addMixinType(Node.java:208) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.addFacet(SQLDocumentLive.java:619) ... 107 more
I am currently upgrading some WebEngine Apps from Nuxeo 5.4.2 to Nuxeo 5.6.0-HF01 and I encountered the problem. The facet 'Indexable' seems to be obsolete and it looks like undefined facets are not tolerated anymore. So I removed that facet from the document types declarations. If some of your code is based on that facet I think that defining the facet should solve your problem. Maybe some Nuxeo guys can give some more details about the facet and its possible deprecation.