Getting error while using "MacroScreenViewHandler".
--------------------------------------------------- Key: OFBIZ-2671 URL: https://issues.apache.org/jira/browse/OFBIZ-2671 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Brajesh Patel Priority: Minor Fix For: SVN trunk I am getting error message in side of the .csv file while using "MacroScreenViewHandler". error log as follows: ---- stack trace --------------------------------------------------------------- freemarker.core.ParseException: Error in template: component://widget/templates/textScreenMacroLibrary.ftl on line 33, column 1 Macros cannot be nested. in component://widget/templates/textScreenMacroLibrary.ftl freemarker.core.FMParser.Macro(FMParser.java:1760) freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) freemarker.core.FMParser.Content(FMParser.java:2618) freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) freemarker.core.FMParser.Macro(FMParser.java:1846) freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) freemarker.core.FMParser.Content(FMParser.java:2618) freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) freemarker.core.FMParser.Root(FMParser.java:2958) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-2671: ---------------------------------------- Assignee: Jacopo Cappellato > Getting error while using "MacroScreenViewHandler". > --------------------------------------------------- > > Key: OFBIZ-2671 > URL: https://issues.apache.org/jira/browse/OFBIZ-2671 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Brajesh Patel > Assignee: Jacopo Cappellato > Priority: Minor > Fix For: SVN trunk > > > I am getting error message in side of the .csv file while using "MacroScreenViewHandler". error log as follows: > ---- stack trace --------------------------------------------------------------- > freemarker.core.ParseException: Error in template: component://widget/templates/textScreenMacroLibrary.ftl > on line 33, column 1 > Macros cannot be nested. in component://widget/templates/textScreenMacroLibrary.ftl > freemarker.core.FMParser.Macro(FMParser.java:1760) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Macro(FMParser.java:1846) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Root(FMParser.java:2958) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato closed OFBIZ-2671. ------------------------------------ Resolution: Fixed Thank you, fixed in rev 789855 > Getting error while using "MacroScreenViewHandler". > --------------------------------------------------- > > Key: OFBIZ-2671 > URL: https://issues.apache.org/jira/browse/OFBIZ-2671 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Brajesh Patel > Assignee: Jacopo Cappellato > Priority: Minor > Fix For: SVN trunk > > > I am getting error message in side of the .csv file while using "MacroScreenViewHandler". error log as follows: > ---- stack trace --------------------------------------------------------------- > freemarker.core.ParseException: Error in template: component://widget/templates/textScreenMacroLibrary.ftl > on line 33, column 1 > Macros cannot be nested. in component://widget/templates/textScreenMacroLibrary.ftl > freemarker.core.FMParser.Macro(FMParser.java:1760) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Macro(FMParser.java:1846) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Root(FMParser.java:2958) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rishi Solanki updated OFBIZ-2671: --------------------------------- Attachment: BalanceSheet.csv Hello Jacopo, I have tested the use of "MacroScreenViewHandler" for the csv that is for the handler "screentext". I have tested it for; Accounting >> Organization Gl Setting >> Reports >> Balance sheet After getting the Balance sheet, when we go for the csv export then getting error in generated csv file, Here I'm attaching the same error generated. > Getting error while using "MacroScreenViewHandler". > --------------------------------------------------- > > Key: OFBIZ-2671 > URL: https://issues.apache.org/jira/browse/OFBIZ-2671 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Brajesh Patel > Assignee: Jacopo Cappellato > Priority: Minor > Fix For: SVN trunk > > Attachments: BalanceSheet.csv > > > I am getting error message in side of the .csv file while using "MacroScreenViewHandler". error log as follows: > ---- stack trace --------------------------------------------------------------- > freemarker.core.ParseException: Error in template: component://widget/templates/textScreenMacroLibrary.ftl > on line 33, column 1 > Macros cannot be nested. in component://widget/templates/textScreenMacroLibrary.ftl > freemarker.core.FMParser.Macro(FMParser.java:1760) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Macro(FMParser.java:1846) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Root(FMParser.java:2958) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735075#action_12735075 ] Brajesh Patel commented on OFBIZ-2671: -------------------------------------- Hello Jacopo, Here error log for generate csv file. [ MacroFormRenderer.java:132:ERROR] ---- exception report ---------------------------------------------------------- Error rendering screen thru ftl Exception: freemarker.core.ParseException Message: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 1, column 42. Encountered: <EOF> after : "\" />" in Fri Jul 24 20:09:17 IST 2009 ---- stack trace --------------------------------------------------------------- freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 1, column 42. Encountered: <EOF> after : "\" />" in Fri Jul 24 20:09:17 IST 2009 freemarker.template.Template.<init>(Template.java:152) freemarker.template.Template.<init>(Template.java:172) org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120) org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136) org.ofbiz.widget.form.MacroFormRenderer.renderFieldTitle(MacroFormRenderer.java:1113) org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1227) org.ofbiz.widget.form.ModelForm.renderListFormString(ModelForm.java:1061) org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:813) org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:828) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:297) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:229) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:132) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:95) org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:114) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:795) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:537) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) --- Thanks Brajesh Patel > Getting error while using "MacroScreenViewHandler". > --------------------------------------------------- > > Key: OFBIZ-2671 > URL: https://issues.apache.org/jira/browse/OFBIZ-2671 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Brajesh Patel > Assignee: Jacopo Cappellato > Priority: Minor > Fix For: SVN trunk > > Attachments: BalanceSheet.csv > > > I am getting error message in side of the .csv file while using "MacroScreenViewHandler". error log as follows: > ---- stack trace --------------------------------------------------------------- > freemarker.core.ParseException: Error in template: component://widget/templates/textScreenMacroLibrary.ftl > on line 33, column 1 > Macros cannot be nested. in component://widget/templates/textScreenMacroLibrary.ftl > freemarker.core.FMParser.Macro(FMParser.java:1760) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Macro(FMParser.java:1846) > freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2393) > freemarker.core.FMParser.Content(FMParser.java:2618) > freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) > freemarker.core.FMParser.Root(FMParser.java:2958) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |