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 04663CBF0 for ; Wed, 12 Mar 2014 18:53:57 +0000 (UTC) Received: (qmail 91836 invoked by uid 500); 12 Mar 2014 18:53:55 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 91795 invoked by uid 500); 12 Mar 2014 18:53:55 -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 91776 invoked by uid 99); 12 Mar 2014 18:53:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 18:53:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fguillaume@nuxeo.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-wi0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 18:53:48 +0000 Received: by mail-wi0-f180.google.com with SMTP id hm4so94542wib.1 for ; Wed, 12 Mar 2014 11:53:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=A7ANITi/TgFilm8vIplw5iQrlwP+HXGmbXzqAX4FvhA=; b=O8edVPOasANkQkjc9EG+h1ZIB9R+6+dSTAxuUfDlRvJea1kCa+JEu3TvYMz+/Q62UT nIwzQ4n6GjYBjDvgrLIKd8mK1Ip10aLvEYaT9haziYJR+6dK/i0Sn1Gpg6u5dgL+/G4J NVkZ88vLvlYky47Dyszcq/9LJcr303OVCYPEQq8+FWqpJD6E/Zi4wKsXouZGwWU5jMKi piQXX3Swk5SlkQTC98daYkI+oLyaEUlcxczt4zt9fgo2dvK/6k97GEPtD12TGc0pd5yg IRFvbhucPAKTZsexHxksJrXU4Wt727vldIn4Sj4CftYpYiAzAJFjgfzvH2TgNlvgi9QC YSpA== X-Gm-Message-State: ALoCoQmBT0Z6+tv9albDEoUlF7OKnTtcjQiNVV6K/nr7Ru5Z8HaNkBC4gtwDYU4pD67JwWIdgZk9 MIME-Version: 1.0 X-Received: by 10.194.5.5 with SMTP id o5mr2454720wjo.16.1394650407568; Wed, 12 Mar 2014 11:53:27 -0700 (PDT) Received: by 10.216.199.134 with HTTP; Wed, 12 Mar 2014 11:53:27 -0700 (PDT) Date: Wed, 12 Mar 2014 19:53:27 +0100 Message-ID: Subject: folder with non-accessible parent (AtomPub) From: Florent Guillaume To: List-Chemistry Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi, In some of our applications a given folder (a user's workspace) has internally a parent that exists but is not accessible to the particular user. Therefore we return no parent for it. However Chemistry assumes that only the root can have no parent: org.apache.chemistry.opencmis.client.runtime.FolderImpl.getParents checks if it's not the root, and if not calls org.apache.chemistry.opencmis.client.bindings.spi.atompub.NavigationServiceImpl.getFolderParent which fails as there's not rel="up" link. What do you think? Is what we do illegal according to the spec, or is it just Chemistry that has to be patched? Florent -- Florent Guillaume, Director of R&D, Nuxeo Open Source Content Management Platform for Business Apps http://www.nuxeo.com http://community.nuxeo.com