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 0C47E17E97 for ; Tue, 29 Sep 2015 15:22:14 +0000 (UTC) Received: (qmail 56270 invoked by uid 500); 29 Sep 2015 15:22:04 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 56219 invoked by uid 500); 29 Sep 2015 15:22:04 -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 56135 invoked by uid 99); 29 Sep 2015 15:22:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 15:22:04 +0000 Date: Tue, 29 Sep 2015 15:22:04 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-951) Problem with applying policy 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-951?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D149353= 19#comment-14935319 ]=20 Florian M=C3=BCller commented on CMIS-951: ------------------------------------- The InMemory repository supports policies. I've tested DotCMIS against the = InMemory repository. The documentation is outdated. It would be perfect if you could provide a test case that works (or doesn't= work) against InMemory repository. Or would it possible to get access to your server for debugging? Could you provide a stack trace? > Problem with applying policy > ---------------------------- > > Key: CMIS-951 > URL: https://issues.apache.org/jira/browse/CMIS-951 > Project: Chemistry > Issue Type: Bug > Components: dotcmis > Affects Versions: DotCMIS 0.7 > Environment: AtomPub > CMIS for .NET > C# > Reporter: Jennifer Deigendesch > Assignee: Florian M=C3=BCller > Attachments: 00054-request (object).log, 00054-response (object).= log, 00058-request (policy).log, 00058-response (policy).log, AnswerMailing= list.msg, object.xml, policy.xml > > > Hi altogether, > I=E2=80=99m using DotCMIS 0.7 for .NET via AtomPub and I have a problem w= ith applying a policy to a document. > First I already fixed the bug in PolicyService in method =E2=80=9CApplyPo= licy=E2=80=9D to load the link for the given policyId and not for the objec= tId. But I=E2=80=99ll get the exception =E2=80=9COperation not supported by= the repository for this object=E2=80=9D... > I also find out, that the link relation of policies is not available in t= he binding cache. Instead the link relation of allowable actions is availab= le.. > I already tried to create and apply a policy via the CMIS Workbench (wher= e the bug in method "AppylPolicy" is already fixed) and it works. > I've already written a mail to the mailing list. The answer is attached a= s well as the logs of the traffic between client and server (and the XML fi= les of the created object and policy). There you can see that the server se= nds the policy link. > I'm really happy to get help soon :) -- This message was sent by Atlassian JIRA (v6.3.4#6332)