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

Nicolas Malin closed OFBIZ-6987.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

No pb [~pandeypranay],

The issue is fixed on trunk at revision 1738258

I tested each case : with -,+ and ASC,DESC

Thanks James and Deepak for the help

> Exception in Form Widget Examples
> ---------------------------------
>
>                 Key: OFBIZ-6987
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6987
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/example
>    Affects Versions: Trunk
>            Reporter: james yong
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> I am running SVN version 1737587.
> Problem
> =======
> I navigate to https://localhost:8443/example/control/FormWidgetExamples, and 
> found the following error on the page:
> {code}
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://example/widget/example/FormWidgetExampleScreens.xml#FormWidgetExamples]:
>  org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://example/widget/example/CommonScreens.xml#main-decorator]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://common/widget/CommonScreens.xml#GlobalDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType]. 
> (Error rendering included form named [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType].) 
> (Error rendering screen 
> [component://common/widget/CommonScreens.xml#GlobalDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType]. 
> (Error rendering included form named [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType].)) 
> (Error rendering screen 
> [component://example/widget/example/CommonScreens.xml#main-decorator]: 
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
> [component://common/widget/CommonScreens.xml#GlobalDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType]. 
> (Error rendering included form named [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType].) 
> (Error rendering screen 
> [component://common/widget/CommonScreens.xml#GlobalDecorator]: 
> java.lang.RuntimeException: Error rendering included form named 
> [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType]. 
> (Error rendering included form named [DropDownFieldsExampleForm] at location 
> [component://example/widget/example/FormWidgetExampleForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [-description] is 
> not valid for entity [ExampleType].java.lang.IllegalArgumentException: The 
> field name (or key) [-description] is not valid for entity [ExampleType].)))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to