CMIS query for versionable aspect not working

229 views
Skip to first unread message

Sujay Pillai

unread,
Jun 30, 2014, 5:18:01 AM6/30/14
to alfresco-techn...@googlegroups.com
Hello All,

When I try the query - 

select d.cmis:objectId from cmis:document as d join cm:ownable as s on d.cmis:objectId = s.cmis:objectId this fetches result but when the query is run for versionable aspect -

select d.cmis:objectId from cmis:document as d join cm:versionable as s on d.cmis:objectId = s.cmis:objectId it throws below error -

Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 05300183 SOLR side error: Type is unsupported in query: cm:versionable

Does Alfresco support query for versionable aspect?

Jeff Potts

unread,
Jun 30, 2014, 12:12:55 PM6/30/14
to alfresco-techn...@googlegroups.com
Why would you need to do this when versions are supported natively by CMIS?

Jeff


--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-technical-d...@googlegroups.com.
To post to this group, send email to alfresco-techn...@googlegroups.com.
Visit this group at http://groups.google.com/group/alfresco-technical-discussion.
For more options, visit https://groups.google.com/d/optout.

sujay pillai

unread,
Jun 30, 2014, 1:12:42 PM6/30/14
to alfresco-techn...@googlegroups.com
I would like to prepare a list of folders/documents which has the Versionable aspect applied in the system. I tried the above query from Admin Console [Node Browser].

Regards,
Sujay Pillai 
Reply all
Reply to author
Forward
0 new messages