01-19-2019 05:24 PM
Hi, I follow the documentation here : https://doc.nuxeo.com/nxdoc/nuxeo-bulk-document-importer/ That says to put that to disable bulk mode :
<extension target="org.nuxeo.ecm.platform.importer.service.DefaultImporterComponent" point="importerConfiguration">
<importerConfig>
<bulkMode>false</bulkMode>
</importerConfig>
</extension>
I have a null pointer exception here :
Class<? extends DefaultDocumentModelFactory> docFactoryClass = descriptor.getDocumentModelFactory().getDocumentModelFactoryClass();
I gonna try to fix that with this contribution :
<?xml version="1.0" encoding="UTF-8"?>
<component name="com.nuxeo.disable.bulk.mode" version="1.0.0">
<require>org.nuxeo.ecm.platform.importer.service.jaxrs.contrib</require>
<extension target="org.nuxeo.ecm.platform.importer.service.DefaultImporterComponent" point="importerConfiguration">
<importerConfig sourceNodeClass ="org.nuxeo.ecm.platform.importer.source.FileWithMetadataSourceNode" >
<bulkMode>false</bulkMode>
<documentModelFactory leafType="File" folderishType="Folder" documentModelFactoryClass="org.nuxeo.ecm.platform.importer.factories.DefaultDocumentModelFactory" />
<enablePerfLogging>true</enablePerfLogging>
</importerConfig>
</extension>
</component>
What do you think ?
01-24-2019 12:29 PM
Hi Benjamin!
Thank you very much for your help! I created a JIRA ticket to fix the page, if you want to follow its resolution.
Regards,
Manon
01-22-2019 12:21 PM
It seems working. Maybe this can be fixed in the documentation ?
01-24-2019 12:57 PM
Welcome back Benjamin !!!
03-25-2019 11:58 AM
Hello Benjamin,
01-24-2019 12:29 PM
Hi Benjamin!
Thank you very much for your help! I created a JIRA ticket to fix the page, if you want to follow its resolution.
Regards,
Manon
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.