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

Fix error after second HTML preview

    XMLWordPrintable

    Details

      Description

      After doing a HTML preview a second time, one gets this error:

      java.lang.UnsupportedOperationException: null
      	at org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder.setBlob(AbstractBlobHolder.java:43) ~[nuxeo-core-api-11.1-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.platform.preview.converters.HtmlPreviewConverter.convert(HtmlPreviewConverter.java:153) ~[nuxeo-preview-core-11.1-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:339) ~[nuxeo-core-convert-11.1-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convertToMimeType(ConversionServiceImpl.java:426) ~[nuxeo-core-convert-11.1-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.restapi.server.jaxrs.adapters.ConvertAdapter.convertWithMimeType(ConvertAdapter.java:132) ~[nuxeo-rest-api-server-11.1-SNAPSHOT.jar:?]
      	at org.nuxeo.ecm.restapi.server.jaxrs.adapters.ConvertAdapter.convert(ConvertAdapter.java:72) ~[nuxeo-rest-api-server-11.1-SNAPSHOT.jar:?]
      

      This is due to the fact that SimpleCachableBlobHolder.setBlob is not implemented.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 3 hours
                  3h