You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by an...@gmx.net on 2021/08/11 16:52:59 UTC
Bug with bulkUpdateProperties WebServices?
Hi,
it looks as if the bulkUpdateProperties method is not fully implemented for WebServices binding.
The Browser binding works fine.
In org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.bulkUpdateProperties (in chemistry-opencmis-client-bindings-1.1.0.jar) I found:
ObjectServicePort port = portProvider.getObjectServicePort(CmisVersion.CMIS_1_1, "bulkUpdateProperties");
try {
javax.xml.ws.Holder<CmisExtensionType> portExtension = convertExtensionHolder(extension);
javax.xml.ws.Holder<CmisObjectIdAndChangeTokenType> bulkUpdateResponse = new javax.xml.ws.Holder<CmisObjectIdAndChangeTokenType>();
port.bulkUpdateProperties(repositoryId,
convert(objectIdAndChangeToken, properties, addSecondaryTypeIds, removeSecondaryTypeIds),
portExtension, bulkUpdateResponse);
setExtensionValues(portExtension, extension);
List<BulkUpdateObjectIdAndChangeToken> result = null;
if (bulkUpdateResponse.value != null) {
// TODO: fix
}
return result;
The holder bulkUpdateResponse has a null value after the call.
Even worse, even if it had, it would not be returned to the caller -- see the empty block with TODO.
Is this a known a bug?
What can you suggest?
Thanks
Andreas