Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6258

Make it possible to programmatically add annotations to "urn:nuxeo:reponame:docref" directly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.0.1
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: Annotations

      Description

      Right now the AnnotationServiceProxy is trying to parse the "annotates" field as a URL before converting it to the internal "urn:nuxeo:reponame:docref" format. While this is fine from a GWT client it's akward to pass a public URL from a core event listener (that is not aware of any web context) for instance.

      I propose to make it possible to bypass the URL check if the annotations URI already has form "urn:nuxeo:reponame:docref".

        Attachments

          Activity

            People

            • Assignee:
              ogrisel Olivier Grisel
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: