Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-951

Problem with applying policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • DotCMIS 0.7
    • None
    • dotcmis
    • None
    • AtomPub
      CMIS for .NET
      C#

    • Important

    Description

      Hi altogether,

      I’m using DotCMIS 0.7 for .NET via AtomPub and I have a problem with applying a policy to a document.

      First I already fixed the bug in PolicyService in method “ApplyPolicy” to load the link for the given policyId and not for the objectId. But I’ll get the exception “Operation not supported by the repository for this object”...

      I also find out, that the link relation of policies is not available in the binding cache. Instead the link relation of allowable actions is available..

      I already tried to create and apply a policy via the CMIS Workbench (where 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 as well as the logs of the traffic between client and server (and the XML files of the created object and policy). There you can see that the server sends the policy link.

      I'm really happy to get help soon

      Attachments

        1. 00054-request (object).log
          2 kB
          Jennifer Deigendesch
        2. 00054-response (object).log
          8 kB
          Jennifer Deigendesch
        3. 00058-request (policy).log
          1 kB
          Jennifer Deigendesch
        4. 00058-response (policy).log
          5 kB
          Jennifer Deigendesch
        5. object.xml
          8 kB
          Jennifer Deigendesch
        6. policy.xml
          5 kB
          Jennifer Deigendesch
        7. AnswerMailinglist.msg
          34 kB
          Jennifer Deigendesch

        Activity

          People

            fmui Florian Müller
            jdeigendesch Jennifer Deigendesch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: