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

Adrian Crum commented on OFBIZ-1914:
------------------------------------

David,

I was thinking about a solution along the same line as you.

I think we only need to change the parsing logic so that only the requested 
form is parsed and constructed - not the entire file. In other words, each form 
would have its own cache entry - instead of each form file being a cache entry. 
I don't think we would need any parse/post-process separation.


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

Reply via email to