Print as PDF from a Class sends a json file rather than the PDF.
If you try to download this, you get a server error.
Print as PDF from a Class sends a json file rather than the PDF.
If you try to download this, you get a server error.
Previously Chris wrote:
Print as PDF from a Class sends a json file rather than the PDF.
If you try to download this, you get a server error.
Previously Tecnoteca wrote:
Previously Chris wrote:This is my own table, not the demo setup.Print as PDF from a Class sends a json file rather than the PDF.
If you try to download this, you get a server error.
Can you please paste here the generated server error? Also, are you trying to print as PDF one of the standard classes of the demo database or one created by you? If it's one of the standard one which one are you trying to print as pdf?CMDBuild Team
"success":false,"messages":[{"level":"ERROR","show_user":true,"message":"DBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n2. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3 errors\n., caused by"},{"level":"ERROR","show_user":false,"message":"org.cmdbuild.report.ReportException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:\n1. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n2. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3 errors\n., caused by: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:\n1. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n2. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3. Invalid escape sequence (valid ones are \\b \\t \\n \\f \\r \\\" \\' \\\\ )\n value = \"C:\\CMDBuild\\Tomcat8.0\\webapps\\cmdbuild\\WEB-INF\\reports\\CMDBuild-logo.png\"; //$JR_EXPR_ID=9$\n <--->\n3 errors\n."}]}
CMDBuild Team
Previously Tecnoteca wrote:
I'm not using a report, if you read the description of the problem, i'm trying to print a Class table to PDF.The version 6.2.0 is fine, could you please send me the report you are using so that I can test it as well?ThanksCMDBuild Team
Previously Chris wrote:
Previously Tecnoteca wrote:I'm not using a report, if you read the description of the problem, i'm trying to print a Class table to PDF.The version 6.2.0 is fine, could you please send me the report you are using so that I can test it as well?ThanksCMDBuild Team
i.e. Just click the print button on any Class.