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

Fix ARender empty annotations after serialization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2
    • Component/s: Nuxeo Connector
    • Backlog priority:
      300
    • Sprint:
      nxplatform 11.1.11, nxplatform 11.1.12
    • Story Points:
      1

      Description

      Context

      There're cases where we end by saving an Annotation document in Nuxeo with an empty ARender annotations list:

          {
            "entity-type": "annotation",
            "id": "ID",
            "parentId": "PARENT_ID",
            "ancestorIds": [
              "PARENT_ID"
            ],
            "author": "SOMEONE",
            "text": null,
            "creationDate": "2019-01-01T00:00:00.000Z",
            "modificationDate": null,
            "entityId": "ENTITY_ID",
            "origin": "ARender",
            "entity": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:xfdf xmlns:ns0=\"http://ns.adobe.com/xfdf/\"><ns0:annots/></ns0:xfdf>",
            "xpath": "file:content"
      }
      

      Root cause seems to be during serialization of entity made on ARender Previewer.

      Solution

      We should have logs in our connector to help diagnostics.

      We need to detect such cases and not create annotation of such kind on Nuxeo.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d