Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-60

Annotations and comments are lost when passing from v1.0 to v2.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Connector

      Description

      Step to reproduce

      • Create a doc and create a v1
      • Annotate the document
      • Update the blob
      • Create v2
      • Navigate to v1 => Annotations and comments are lost.

      When doing the JSON export, I've noticed that, before going to v2, my v1 is :

      {
        "entity-type": "document",
        "repository": "default",
        "uid": "8d5bea6f-3216-403a-a49b-dc4d6843c4a2",
        "path": "/default-domain/workspaces/Start Creating Your Cont/v1.png",
        "type": "Picture",
        "state": "project",
        "parentRef": "4a5c5f6c-f553-4693-8eb0-490f01f18e83",
        "isCheckedOut": false,
        "isVersion": false,
        "isProxy": false,
        "changeToken": "5-0",
        "isTrashed": false,
        "title": "v1.png",
        "lastModified": "2019-01-18T10:19:44.100Z",
        "properties": {
          "uid:uid": null,
          "uid:major_version": 1,
          "uid:minor_version": 0,
      

      But once I version to v2, and go back to v1 and make the JSON export, the uuid changes and the versionableId appears

      /{
        "entity-type": "document",
        "repository": "default",
        "uid": "893bff43-1b7f-446e-898b-bd8221462e6c",
        "path": "/default-domain/workspaces/Start Creating Your Cont/v1.png",
        "type": "Picture",
        "state": "project",
        "parentRef": "4a5c5f6c-f553-4693-8eb0-490f01f18e83",
        "isCheckedOut": false,
        "isVersion": true,
        "isProxy": false,
        "versionableId": "8d5bea6f-3216-403a-a49b-dc4d6843c4a2",
        "changeToken": "6-0",
        "isTrashed": false,
        "title": "v1.png",
        "lastModified": "2019-01-18T10:19:44.100Z",
        "properties": {
          "uid:uid": null,
          "uid:major_version": 1,
          "uid:minor_version": 0,
      

      Note : This bug cannot be reproduced when passing to v2 to v3

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gcarlin Gregory Carlin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: