[ 
https://jira.nuxeo.com/browse/NXP-7372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=100362#comment-100362
 ] 

Anahide Tchertchian commented on NXP-7372:
------------------------------------------

error excerpt:

org.nuxeo.ecm.platform.preview.api.PreviewException: can not preview a document 
without blob
        at 
org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:137)
        at 
org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:114)
        at 
org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter.getFilePreviewBlobs(AbstractHtmlPreviewAdapter.java:121)
        at 
org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.initCachedBlob(PreviewRestlet.java:177)
        at 
org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet.handle(PreviewRestlet.java:129)


> Avoid error in logs when previewing a document without blobs
> ------------------------------------------------------------
>
>                 Key: NXP-7372
>                 URL: https://jira.nuxeo.com/browse/NXP-7372
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 5.4.2
>            Reporter: Anahide Tchertchian
>             Fix For: 5.4.3
>
>
> When previewing a document without blobs, a big error log is displayed even 
> if there is no error on the HTML page.
> Steps to reproduce:
> - create a File document, do not attach any binary content
> - hit the preview tab

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to