When the quota addon is installed, for instance, the dynamic facet "DocumentsCountStatistics" is part of exported XML content.
This produces an error when importing back the zip:
2014-04-11 11:40:51,643 ERROR [http-bio-10.213.1.54-8080-exec-6266] [org.nuxeo.ecm.platform.routing.core.persistence.RouteModelsZipImporter] Can not import route model
org.nuxeo.ecm.core.api.ClientRuntimeException: No such facet: DocumentsCountStatistics
at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.addFacet(DocumentModelImpl.java:572)
at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.loadFacetsInfo(AbstractDocumentModelWriter.java:209)
at org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter.createDocument(AbstractDocumentModelWriter.java:147)
at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.doWrite(DocumentModelWriter.java:102)
at org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter.write(DocumentModelWriter.java:72)
at org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter.write(AbstractDocumentWriter.java:49)
It looks like the fact that it's a mixin facet is an issue for the import code.
- depends on
-
NXP-21456 Allow to relax document property check depending on configuration
- Resolved
- is duplicated by
-
NXP-14948 Make Platform Explorer work with quota
- Resolved
- is related to
-
NXP-21742 Fix document access through CMIS when the document holds obsolete facets
- Resolved
- is required by
-
NXP-23035 Don't crash when doing XML import of unknown document type
- Resolved