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

Widget Refactoring - form extension broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      With current widget refactoring, the form extension is broken.

      Currently we have

      <form name="ListAccounts" extends="listAccounts">
      {code]
      This leads to following error message in demo-trunk:
      

      org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://marketing/widget/sfa/AccountScreens.xml#FindAccounts: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://marketing/widget/sfa/CommonScreens.xml#main-decorator: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://commonext/widget/CommonScreens.xml#ApplicationDecorator: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#FindScreenDecorator: java.lang.RuntimeException: Error rendering included form named [ListAccounts] at location [component://marketing/widget/sfa/forms/AccountForms.xml]: java.lang.IllegalArgumentException: The form 'type' tag is missing or empty on the form with the name ListAccountsjava.lang.IllegalArgumentException: The form 'type' tag is missing or empty on the form with the name ListAccounts (Error rendering included form named [ListAccounts] at location [component://marketing/widget/sfa/forms/AccountForms.xml]: java.lang.IllegalArgumentException: The form 'type' tag is missing or empty on the form with the name ListAccountsjava.lang.IllegalArgumentException: The form 'type' tag is missing or empty on the form with the name ListAccounts) (Error rendering screen component://common/widget/CommonScreens.xml#FindScreenDecorator: java.lang.RuntimeException: Error rendering included form named [ListAccounts] at location [component://marketing/widget/sfa/forms/AccountForms.xml]: java.lang.IllegalArgumentException: The form 'type' tag is missing or empty on the form with the name ListAccounts

      
      

        Attachments

          Activity

            People

            • Assignee:
              adrianc@hlmksw.com Adrian Crum
              Reporter:
              pfm.smits Pierre Smits
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: