AnsweredAssumed Answered

CMIS return invalid cm:taggable JSON

Question asked by liefra on Mar 24, 2014
Latest reply on Mar 24, 2014 by kaynezhang
Hi,

when I execute the following the following CMIS call, the server responds non-valid JSON (see below). The items in the cm:taggable array do NOT have double quotes.

So, instead of
"cm:taggable": [workspace://SpacesStore/859cd90f-f3fd-4ce8-bbf1-1d5924f8bf8d, workspace://SpacesStore/168e033a-519b-4e58-9449-141c52d54425]
the last line should be
"cm:taggable": ["workspace://SpacesStore/859cd90f-f3fd-4ce8-bbf1-1d5924f8bf8d", "workspace://SpacesStore/168e033a-519b-4e58-9449-141c52d54425"]

Anybody else experienced this behaviour?

Thanks, Frank

https://example.org/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=d44c2b99-d199-48ac-867c-552afbb840c5;1.0&cmisselector=object&filter=*&includeAllowableActions=false&includeRelationships=none&includeACL=false&succinct=true

<javascript>

{"succinctProperties": {
    "cmis:contentStreamLength": 33003,
    "cmis:objectTypeId": "cmis:document",
    "cmis:versionSeriesCheckedOutBy": null,
    "cmis:versionSeriesCheckedOutId": null,
    "cmis:isPrivateWorkingCopy": null,
    "cmis:versionSeriesId": "d44c2b99-d199-48ac-867c-552afbb840c5",
    "cmis:versionLabel": "1.0",
    "cmis:isLatestVersion": true,
    "cmis:isVersionSeriesCheckedOut": false,
    "cmis:lastModifiedBy": "jana",
    "cmis:createdBy": "jana",
    "alfcmis:nodeRef": "workspace:\/\/SpacesStore\/d44c2b99-d199-48ac-867c-552afbb840c5",
    "cmis:isLatestMajorVersion": true,
    "cmis:contentStreamId": "store:\/\/2014\/1\/23\/7\/43\/fc8d4790-ece4-4223-a03e-4a9d6ed5bc98.bin",
    "cmis:name": "Directory-Participants-RTCMangroves.pdf",
    "cmis:contentStreamMimeType": "application\/pdf",
    "cmis:creationDate": 1390463026755,
    "cmis:changeToken": null,
    "cmis:secondaryObjectTypeIds": ["P:cm:thumbnailModification", "P:cm:titled", "P:cm:author", "P:cm:taggable", "P:rn:renditioned", "P:sys:localized"],
    "cmis:checkinComment": null,
    "cmis:objectId": "d44c2b99-d199-48ac-867c-552afbb840c5;1.0",
    "cmis:isImmutable": false,
    "cmis:isMajorVersion": true,
    "cmis:baseTypeId": "cmis:document",
    "cmis:description": null,
    "cmis:lastModificationDate": 1390463220061,
    "cmis:contentStreamFileName": "Directory-Participants-RTCMangroves.pdf",
    "cm:lastThumbnailModification": ["doclib:1390463028477", "webpreview:1395625399411"],
    "cm:description": null,
    "cm:title": ["Microsoft Word - PaxDirect"],
    "cm:author": ["Jana"],
    "cm:taggable": [workspace://SpacesStore/859cd90f-f3fd-4ce8-bbf1-1d5924f8bf8d, workspace://SpacesStore/168e033a-519b-4e58-9449-141c52d54425]
}}

</javascript>

Outcomes