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

Stamps annotations not displayed because of missing AnnotationTemplateCatalog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2
    • Component/s: Nuxeo Connector
    • Tags:
    • Backlog priority:
      900
    • Sprint:
      nxcore 10.3.3
    • Story Points:
      2

      Description

      The BlobAnnotationAccessor class should be reviewed because it doesn't allow us to load stamps on the Arender UI. BlobAnnotationAccessor creates an AnnotationCreationPolicy without setting any AnnotationTemplateCatalog. So, in the BlobAnnotationAccessor builder, we should add the following lines :

      creationPolicy = new AnnotationCreationPolicy();
      catalog = (AnnotationTemplateCatalog) DependencyInjection.getBean("annotationTemplateCatalog");
      creationPolicy.setAnnotationTemplateCatalog(catalog);
      

      Note: The annotationTemplateCatalog bean is defined in annotationtemplate-catalog.xml (WEB-INF/classes).

        Attachments

          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 - 30 minutes
                30m