[jira] [Created] (OFBIZ-4873) Error in CSV download

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-4873) Error in CSV download

Nicolas Malin (Jira)
Ranjit Kumar Singh created OFBIZ-4873:
-----------------------------------------

             Summary: Error in CSV download
                 Key: OFBIZ-4873
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4873
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Release Branch 11.04
            Reporter: Ranjit Kumar Singh
            Priority: Critical


If sorting is enabled for at least one field in list type form-widget we get Template Exception Stack trace in downloaded file, the same can also be verified at console.

Here is the Error details:

Error executing macro: renderFieldTitle
required parameter: id is not specified.
The problematic instruction:
----------
==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateException: Error executing macro: renderFieldTitle
required parameter: id is not specified.
        at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4873) Error in CSV download

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ranjit Kumar Singh updated OFBIZ-4873:
--------------------------------------

    Attachment: ScoopReport-6.csv

Download file having error
               

> Error in CSV download
> ---------------------
>
>                 Key: OFBIZ-4873
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4873
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 11.04
>            Reporter: Ranjit Kumar Singh
>            Priority: Critical
>         Attachments: ScoopReport-6.csv
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If sorting is enabled for at least one field in list type form-widget we get Template Exception Stack trace in downloaded file, the same can also be verified at console.
> Here is the Error details:
> Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> The problematic instruction:
> ----------
> ==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateException: Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4873) Error in CSV download

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273098#comment-13273098 ]

Ranjit Kumar Singh commented on OFBIZ-4873:
-------------------------------------------

Here is the patch:

Index: csvFormMacroLibrary.ftl
===================================================================
--- csvFormMacroLibrary.ftl (revision 1336603)
+++ csvFormMacroLibrary.ftl (working copy)
@@ -50,7 +50,7 @@
 <#macro renderHiddenField name value id event action></#macro>
 <#macro renderIgnoredField></#macro>
 
-<#macro renderFieldTitle style title id fieldHelpText=""><@renderField title />,</#macro>
+<#macro renderFieldTitle style title id=""  fieldHelpText=""><@renderField title />,</#macro>
 <#macro renderSingleFormFieldTitle></#macro>
 
 <#macro renderFormOpen linkUrl formType targetWindow containerId containerStyle autocomplete name useRowSubmit></#macro>

               

> Error in CSV download
> ---------------------
>
>                 Key: OFBIZ-4873
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4873
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 11.04
>            Reporter: Ranjit Kumar Singh
>            Priority: Critical
>         Attachments: ScoopReport-6.csv
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If sorting is enabled for at least one field in list type form-widget we get Template Exception Stack trace in downloaded file, the same can also be verified at console.
> Here is the Error details:
> Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> The problematic instruction:
> ----------
> ==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateException: Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4873) Error in CSV download

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ranjit Kumar Singh updated OFBIZ-4873:
--------------------------------------

    Description:
If sorting is enabled for at least one field in the list type form-widget, we get Template Exception Stack trace in downloaded file, the same can also be verified at console.

Here is the Error details:

Error executing macro: renderFieldTitle
required parameter: id is not specified.
The problematic instruction:
----------
==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateException: Error executing macro: renderFieldTitle
required parameter: id is not specified.
        at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

  was:
If sorting is enabled for at least one field in list type form-widget we get Template Exception Stack trace in downloaded file, the same can also be verified at console.

Here is the Error details:

Error executing macro: renderFieldTitle
required parameter: id is not specified.
The problematic instruction:
----------
==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
 in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateException: Error executing macro: renderFieldTitle
required parameter: id is not specified.
        at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

   

> Error in CSV download
> ---------------------
>
>                 Key: OFBIZ-4873
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4873
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 11.04
>            Reporter: Ranjit Kumar Singh
>            Priority: Critical
>         Attachments: ScoopReport-6.csv
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If sorting is enabled for at least one field in the list type form-widget, we get Template Exception Stack trace in downloaded file, the same can also be verified at console.
> Here is the Error details:
> Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> The problematic instruction:
> ----------
> ==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderFieldTitle [on line 116, column 57 in component://widget/templates/csvFormMacroLibrary.ftl]
>  in user-directive renderSortField [on line 1, column 1 in Fri May 11 12:33:29 IST 2012]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateException: Error executing macro: renderFieldTitle
> required parameter: id is not specified.
> at freemarker.core.Macro$Context.sanityCheck(Macro.java:211)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira