Andreas Gehrig created CMIS-762:
-----------------------------------
Summary: ObjectType implementations don't take over extension
elements
Key: CMIS-762
URL: https://issues.apache.org/jira/browse/CMIS-762
Project: Chemistry
Issue Type: Bug
Components: opencmis-client
Affects Versions: OpenCMIS 0.10.0
Reporter: Andreas Gehrig
The ObjectType implementations DocumentTypeImpl, FolderTypeImpl and
SecondaryTypeImpl do not take over the list of cmis extensions from the
TypeDefinitions.
For example:
{code}org.apache.chemistry.opencmis.client.runtime.objecttype.DocumentTypeImpl#DocumentTypeImpl(Session,
DocumentTypeDefinition){code}
should call
{code}org.apache.chemistry.opencmis.commons.data.ExtensionData#setExtensions(List<CmisExtensionElement>);
setExtensions(typeDefinition.getExtensions());{code}
Right now the list of extension elements isn't taken from the typeDefinition
and so gets lost.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)