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 EE15D11BBA for ; Thu, 21 Aug 2014 10:06:54 +0000 (UTC) Received: (qmail 61896 invoked by uid 500); 21 Aug 2014 10:06:54 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 61834 invoked by uid 500); 21 Aug 2014 10:06:54 -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 61822 invoked by uid 99); 21 Aug 2014 10:06:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 10:06:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.javaone@gmail.com designates 209.85.192.41 as permitted sender) Received: from [209.85.192.41] (HELO mail-qg0-f41.google.com) (209.85.192.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 10:06:28 +0000 Received: by mail-qg0-f41.google.com with SMTP id z107so5170598qgd.14 for ; Thu, 21 Aug 2014 03:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AuiL73V1FYjdyZ0nQZBVQmDE0CFgzijC+VrQ4bxqgrc=; b=FlzAkBgRAodZUPvVD2JVLZ/WpcSkMLBqbFVRgCxVs7OSreGdMHpS19AsJwdUywJ+/8 dyLXA/Mqk0EL7gZVOLwmTe/mnAcXyTd7zvE9JWmVc/2pXvqspCXZIQno89cL4C5WGJ2N GSdOgJJcSn9kdk5+aV1SwMyeVmR8bCxQFv/xjv2yMVcuNrWnzY7zlPb2f/WZXyvjg00K l67/z7O518aQSiUPVxMZH3zTFSUHfEq0gr1QS+iruRxCCpuR6Z6PyIA4/46cUZxYqoUa dxijMS/d2Wg7YrC2h7q/2416gV6qtOnouGtlWmhXNKGNsMh1BUqe5XdxG62srbd+FVpx EFcw== MIME-Version: 1.0 X-Received: by 10.224.37.134 with SMTP id x6mr88289033qad.39.1408615586930; Thu, 21 Aug 2014 03:06:26 -0700 (PDT) Received: by 10.229.3.1 with HTTP; Thu, 21 Aug 2014 03:06:26 -0700 (PDT) In-Reply-To: <155713D1CB3F8C40B8D6425134607378995A1124@S-DC-ESTD03-B.net1.cec.eu.int> References: <155713D1CB3F8C40B8D6425134607378995A1124@S-DC-ESTD03-B.net1.cec.eu.int> Date: Thu, 21 Aug 2014 12:06:26 +0200 Message-ID: Subject: Re: CreateAndDeleteRelationshipTest() From: Michael Brackx To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=001a11c1f4a2af2656050120dfe3 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1f4a2af2656050120dfe3 Content-Type: text/plain; charset=UTF-8 The updatability of cmis:sourceId and cmis:targetId in cmis 1.1 is wrong. It should be oncreate or maybe readwrite. Michael On Thu, Aug 21, 2014 at 11:54 AM, wrote: > Hello everybody, > > > > Currently I am validating all TCKs against our recent CMIS 1.1 server > implementation and I have a question related to relationships. > > The spec of CMIS 1.0 don't specify the updatability of the > cmis:relationship properties cmis:sourceId and cmis:targetId, so we decided > to use readwrite. > > Now, in the CMIS 1.1 the updatability is readonly, so I changed it. > > > > As a consequence the test now is failing. The code from > ObjectFactoryImpl.convertProperties() is ignoring the readonly properties > and sending to the server only the readwrite and oncreate. > > > > We have a similar change in CMIS 1.1 with the cmis:objectTypeId, in 1.0 > was oncreate and now is readonly. > > > > Removing the client property filtering code is easy, but I don't if there > are other implications. > > My suggestion is having a sort of white list with readonly properties not > filtered, what do you think? > > > > Thanks. > > *Jorge MARTIN CUERVO* > > [image: cid:image001.gif@01CCF6D0.4613B970] > *European Commission* > DG TRADE > Unit A4 > > CHAR 02/077 > B-1049 Brussels/Belgium > +32 2 298 86 27 > jorge.martin-cuervo@ext.ec.europa.eu > > > --001a11c1f4a2af2656050120dfe3--