I'm performing a cmis query with a custom aspect. I spent some time searching the forums and trying different things but no luck. I think I copied the examples exactly. When I perform the query with a custom type, everything works well. Also when I try to perform the query with an out of the box aspect such as cm:titled, everything works well again. The problem happens when I try to run a CMIS query on a custom aspect. My question specifically is, is there anything special that needs to be done when adding custom aspects to your model to make them exposed to cmis? The error in the logs is 2013-02-01 14:57:21,036 ERROR [solr.servlet.SolrDispatchFilter] [http-8443-1] org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Type is unsupported in query: mis:recordable
Here's my setup;
my problem query
select d.*, o.* from mis:museumRecord as d join mis:recordable as o on d.cmisbjectId = o.cmisbjectId
Java alfresco-opencmis-extension version 0.4 alfresco enterprise 4.1.2 atom pub url http://localhost:8080/alfresco/cmisatom object factory class org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl
So I figured out the issue in case anyone is reading this. My custom content model inside solr was out of date from my custom content model in alfresco. Deleting the custom content model in solr caused it to regenerate it on restart and now I am able to query custom aspects.
Archive: Alfresco Content Services / ECM
Archive content from 2016 and relating to earlier versions of Alfresco Content Services, Community and Alfresco One.