Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A94910A0B for ; Thu, 12 Dec 2013 08:07:17 +0000 (UTC) Received: (qmail 23094 invoked by uid 500); 12 Dec 2013 08:07:16 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 22604 invoked by uid 500); 12 Dec 2013 08:07:09 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 22229 invoked by uid 99); 12 Dec 2013 08:07:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 08:07:07 +0000 Date: Thu, 12 Dec 2013 08:07:07 +0000 (UTC) From: "Roberto Rossi (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-741) unable to updateProperties on a CmisObject MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-741?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D138461= 37#comment-13846137 ]=20 Roberto Rossi commented on CMIS-741: ------------------------------------ OK Jeff, thank you for your support! ROb > unable to updateProperties on a CmisObject > ------------------------------------------ > > Key: CMIS-741 > URL: https://issues.apache.org/jira/browse/CMIS-741 > Project: Chemistry > Issue Type: Bug > Components: python-cmislib > Affects Versions: cmislib 0.5.1 > Environment: Python 2.7.6 > Alfresco 4.2.d on Ubuntu Linux Server 12.04 > Client running cmislib Ubuntu Linux Desktop 12.04 > Reporter: Roberto Rossi > Assignee: Jeff Potts > Labels: CmisObject, updateProperties > > During an update of properties of a CmisObject I receive this error from = cmislib: > InvalidArgumentException: Error 400 at http://teamtest:8080/alfresco/cmis= atom/000fb4b4-d4b6-4ef7-a049-67939b9d70c8/entry?id=3Dworkspace%3A%2F%2FSpac= esStore%2F0db0156b-0f92-4a0f-b9c4-fc0267ace6e8%3B1.0 > It seems that the url set inside the CmisObject is not usable for propert= ies update. > Here info, from Eclipse debug, of the cmis object: > obj=09Document: workspace://SpacesStore/0db0156b-0f92-4a0f-b9c4-fc0267ace= 6e8;1.0=09 > =09ACL=09ACL: =09 > =09_allowableActions=09dict: {}=09 > =09_cmisClient=09CmisClient: CMIS client connection to http://teamtest:80= 80/alfresco/cmisatom=09 > =09_kwargs=09dict: {}=09 > =09_name=09NoneType: None=09 > =09_objectId=09str: workspace://SpacesStore/0db0156b-0f92-4a0f-b9c4-fc026= 7ace6e8;1.0=09 > =09_properties=09dict: {}=09 > =09_repository=09Repository: Main Repository=09 > =09allowableActions=09dict: {u'canDeleteContentStream': True, u'canApplyA= CL': True, u'canSetContentStream': True, u'canCheckOut': True, u'canGetCont= entStream': True, u'canCreateRelationship': True, u'canDeleteObject': True,= u'canGetAllVersions': True, u'canAddObjectToFolder': True, u'canGetRenditi= ons': True, u'canGetAppliedPolicies': True, u'canGetObjectParents': True, u= 'canRemoveObjectFromFolder': True, u'canMoveObject': True, u'canGetObjectRe= lationships': True, u'canGetACL': True, u'canGetProperties': True, u'canUpd= ateProperties': True}=09 > =09checkedOut=09bool: False=09 > =09id=09str: workspace://SpacesStore/0db0156b-0f92-4a0f-b9c4-fc0267ace6e8= ;1.0=09 > =09logger=09Logger: =09 > =09name=09unicode: komodo.desktop=09 > =09properties=09dict: {u'cmis:contentStreamMimeType': u'application/x-sh'= , u'cmis:creationDate': datetime.datetime(2013, 9, 12, 16, 17, 30, 585000, = tzinfo=3D), u'cmis:isPri= vateWorkingCopy': None, u'cmis:baseTypeId': 'cmis:document', u'cmis:isLates= tMajorVersion': True, u'cmis:isImmutable': False, u'cmis:isMajorVersion': T= rue, u'cmis:objectId': 'workspace://SpacesStore/0db0156b-0f92-4a0f-b9c4-fc0= 267ace6e8;1.0', u'cmis:versionSeriesId': 'workspace://SpacesStore/0db0156b-= 0f92-4a0f-b9c4-fc0267ace6e8', u'cmis:lastModificationDate': datetime.dateti= me(2013, 9, 12, 16, 17, 30, 760000, tzinfo=3D), u'cmis:checkinComment': None, u'cmis:description': = None, u'cmis:versionSeriesCheckedOutId': None, u'cmis:isVersionSeriesChecke= dOut': False, u'cmis:contentStreamFileName': u'komodo.desktop', u'cmis:vers= ionLabel': u'1.0', u'alfcmis:nodeRef': 'workspace://SpacesStore/0db0156b-0f= 92-4a0f-b9c4-fc0267ace6e8', u'cmis:changeToken'...=09 > =09title=09unicode: komodo.desktop=09 > =09xmlDoc=09Document: > here the properties I'm trying to update: > props=09dict: {'cmis:name': 'komodo.desktop', 'cmis:title': 'komodo.deskt= op'}=09 > =09__len__=09int: 2=09 > =09cmis:name (165618240)=09str: komodo.desktop=09 > =09cmis:title (165618272)=09str: komodo.desktop > Is this a cmilib problem or an Alfresco CMIS implementation issue? > In these days I'm testing this lib and I can reading objects and properti= es. This is the first operation of updating an object. > Thanks for your support, > ROb -- This message was sent by Atlassian JIRA (v6.1.4#6159)