[ https://issues.apache.org/jira/browse/OFBIZ-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661334#action_12661334 ]
Adrian Crum commented on OFBIZ-1914: ------------------------------------ Actually, what Hans is reporting makes a lot of sense. A quick look at the ModelForm code confirms he is correct. FormA in TheseForms.xml extends FormB in ThoseForms.xml. During FormA construction, ThoseForms.xml is parsed in order to get FormB. But in ThoseForms.xml there is a FormC that extends FormD in TheseForms.xml. So, TheseForms.xml is parsed, and the endless loop begins... An interesting conundrum. > form 'extend' can bring system in a loop > ---------------------------------------- > > Key: OFBIZ-1914 > URL: https://issues.apache.org/jira/browse/OFBIZ-1914 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: any > Reporter: Hans Bakker > Fix For: SVN trunk > > > If a form xml extends a form from a second form xml file and that second form > xml extends a different form in the first xml file, the system comes in a > loop. This prohibits the re-usage of forms significantly. An example of the > log file when i want to use a communication list on a request and a request > list on a communication: > 2008-08-10 07:09:52,661 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.014s: > file:/home/hans/ofbiz/svn/applications/order/webapp/ordermgr/request/RequestForms.xml > 2008-08-10 07:09:52,683 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.016s: > file:/home/hans/ofbiz/svn/applications/party/webapp/partymgr/communication/CommForms.xml > 2008-08-10 07:09:52,765 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.065s: > file:/home/hans/ofbiz/svn/applications/order/webapp/ordermgr/request/RequestForms.xml > 2008-08-10 07:09:52,818 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.047s: > file:/home/hans/ofbiz/svn/applications/party/webapp/partymgr/communication/CommForms.xml > my knowledge of the widget frmaework system is restricted...if anybody can > help? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.