[
https://jira.nuxeo.org/browse/NXP-5444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stéfane Fermigier updated NXP-5444:
-----------------------------------
Tags: bugday (was: )
Needs to be tested again.
> PDF upload in Website fails
> ---------------------------
>
> Key: NXP-5444
> URL: https://jira.nuxeo.org/browse/NXP-5444
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Blogs / Websites / Wikis
> Affects Versions: 5.3.1
> Reporter: Sean Radford
> Priority: Major
> Attachments: log.txt
>
>
> When trying to upload a PDF document on a website page (using the Attach File
> widget) I get the following stacktrace and the website page displays the
> stacktrace whenever you attempt to view it.
> I have tried a number of PDFs with the same result. Other file types, e.g.
> Word documents upload without error. Also, PDFs upload fine within the main
> JSF UI.
> org.nuxeo.ecm.webengine.WebException: Failed to render template:
> /opt/nuxeo/nuxeo-5.3.1/server/test/data/NXRuntime/web/root.war/modules/org.nuxeo.ecm.platform.webengine.sites/skin/template_default.ftl
> ...
> Caused by: org.nuxeo.ecm.platform.rendering.api.RenderingException:
> freemarker.core.InvalidReferenceException: Expression
> mimetypeService.getMimetypeEntryByMimeType(file.file.mimeType) is undefined
> on line 143, column 42 in
> nxtheme://theme/default/*/freemarker/custom-sites/page/view.
> at
> org.nuxeo.ecm.platform.rendering.fm.FreemarkerEngine.render(FreemarkerEngine.java:161)
> at
> org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.render(AbstractWebContext.java:582)
> ... 51 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
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