philipmeadows / alfresco-webscript-manifold-connector

Alfresco Solr API Repository Connector for Apache ManifoldCF
11 stars 11 forks source link

Error during retrieval of node properties #1

Closed OpenPj closed 10 years ago

OpenPj commented 11 years ago

There is an issue that I think can be related to the Alfresco models, for some reasons one of these models doesn't have an important import of a dependent model (cm:contentModel).

Trying to get node properties the Alfresco SolrApiClient returns the following exception:

ERROR 2013-03-14 20:37:42,374 (Worker thread '37') - Error on getNodesMetaData fromId 14 toId 14 org.alfresco.service.namespace.NamespaceException: Namespace prefix cm is not mapped to a namespace URI at org.alfresco.service.namespace.QName.createQName(QName.java:99) at org.alfresco.service.namespace.QName.createQName(QName.java:121) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter$10.convert(SOLRAPIClient.java:1193) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter$10.convert(SOLRAPIClient.java:1190) at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:112) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter.convert(SOLRAPIClient.java:1208) at org.alfresco.solr.client.SOLRAPIClient$SOLRDeserializer.deserializeValue(SOLRAPIClient.java:1226) at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:801) at org.apache.manifoldcf.crawler.connectors.alfrescowebscripts.AlfrescoIndexTracker.processMetaData(AlfrescoIndexTracker.java:230) at org.apache.manifoldcf.crawler.connectors.alfrescowebscripts.AlfrescoWebScriptsRepositoryConnector.processDocuments(AlfrescoWebScriptsRepositoryConnector.java:192) at org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:423) at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:551)