Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6987

Exception in Form Widget Examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.01
    • example
    • None

    Description

      I am running SVN version 1737587.

      Problem
      =======
      I navigate to https://localhost:8443/example/control/FormWidgetExamples, and found the following error on the page:

      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].)))
      

      Attachments

        Activity

          People

            nmalin Nicolas Malin
            jamesyong James Yong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: