cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS return invalid cm:taggable JSON

liefra
Champ in-the-making
Champ in-the-making
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-d...

<javascript>

{"succinctProperties": {
    "cmis:contentStreamLength": 33003,
    "cmisSmiley SurprisedbjectTypeId": "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,
    "cmisSmiley SurprisedbjectId": "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>
2 REPLIES 2

sanket
Champ on-the-rise
Champ on-the-rise
Yes. This is a registered bug (issue) in Alfresco 4.2.

https://issues.alfresco.com/jira/browse/MNT-10548

kaynezhang
World-Class Innovator
World-Class Innovator
This bug is resolved in 4.3