You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Andreas Gehrig (JIRA)" <ji...@apache.org> on 2014/02/26 14:16:19 UTC

[jira] [Created] (CMIS-762) ObjectType implementations don't take over extension elements

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)