- install 7.10
- turn on sending CMIS queries to Elasticsearch by adding the following line to nuxeo.conf:
org.nuxeo.cmis.elasticsearch=true
- start Nuxeo
- create a workspace
- create a document
- increase the version of the document
- connect to Nuxeo using CMIS Workbench
- run the following queries:
SELECT major_version FROM File SELECT minor_version FROM File
In both cases the value is empty whereas it is correctly returned when queries are not sent to Elasticsearch (parameter to false).
- exporting the document shows the property exists and has a value
<?xml version="1.0" encoding="UTF-8"?> <document repository="default" id="4fd3a0ed-3061-4004-b0c7-a918a5f31fc0"> <system> <type>File</type> <path>default-domain/workspaces/testWorkspaceSUPNXP21241/oaizjeioazje</path> <lifecycle-state>project</lifecycle-state> <lifecycle-policy>default</lifecycle-policy> <facet>Versionable</facet> <facet>Publishable</facet> <facet>Commentable</facet> <facet>HasRelatedText</facet> <facet>Downloadable</facet> <access-control> <acl name="inherited"> <entry principal="Administrator" permission="Everything" grant="true"/> <entry principal="members" permission="Read" grant="true"/> </acl> </access-control> </system> <schema xmlns:uid="http://project.nuxeo.com/geide/schemas/uid/" name="uid"> <uid:major_version><![CDATA[1]]></uid:major_version> <uid:minor_version><![CDATA[0]]></uid:minor_version> </schema> <schema xmlns:file="http://www.nuxeo.org/ecm/schemas/file/" name="file"></schema> <schema xmlns:common="http://www.nuxeo.org/ecm/schemas/common/" name="common"> <common:icon><![CDATA[/icons/file.gif]]></common:icon> </schema> <schema xmlns:files="http://www.nuxeo.org/ecm/schemas/files/" name="files"> <files:files/> </schema> <schema xmlns:dc="http://www.nuxeo.org/ecm/schemas/dublincore/" name="dublincore"> <dc:description><![CDATA[hoho !]]></dc:description> <dc:creator><![CDATA[Administrator]]></dc:creator> <dc:modified><![CDATA[2017-09-25T11:29:38.000Z]]></dc:modified> <dc:lastContributor><![CDATA[Administrator]]></dc:lastContributor> <dc:created><![CDATA[2017-09-25T10:30:21.995Z]]></dc:created> <dc:title><![CDATA[oaizjeioazje]]></dc:title> <dc:subjects/> <dc:contributors> <item><![CDATA[Administrator]]></item> </dc:contributors> </schema> <schema xmlns:relatedtext="http://www.nuxeo.org/ecm/schemas/relatedtext/" name="relatedtext"> <relatedtext:relatedtextresources/> </schema> </document>
- is related to
-
NXP-23347 TestCMISBinding failures on mongodb
- Resolved