I've created publication in WCMQS but unable to view pdf or images which I uploaded. I found that there is a bug with article and publication - https://issues.alfresco.com/jira/browse/ALF-14587 But could not find resolution. Can you please let me know what needs to be done?
Below is the error -
An error has occured in the component: /wcmqs/service/preview/web-preview. It responded with a status of 500 - Internal Error. Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request. Error Message: 02080001 Failed to process template preview/web-preview.get.html.ftl Server: Alfresco Spring WebScripts - v1.2.0 (Release 1207) schema 1,000 Time: Mar 8, 2013 12:38:34 PM Click here to view full technical information on the error. Exception: freemarker.core.InvalidReferenceException - Expression asset.tags is undefined on line 26, column 10 in preview/web-preview.get.html.ftl. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135) freemarker.core.BuiltIn$sizeBI._getAsTemplateModel(BuiltIn.java:700) freemarker.core.Expression.getAsTemplateModel(Expression.java:89) freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:111) freemarker.core.IfBlock.accept(IfBlock.java:80) freemarker.core.Environment.visit(Environment.java:221) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:221) freemarker.core.Environment.process(Environment.java:199) org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171) org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:875) org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267) org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
I've the same problem! and I can't fix it! May be this is a BUG of the 4.2.c version, but is strange that nobody answered this message… In my opinion is a very important BUG that makes the WQS don't work!