[ https://issues.apache.org/jira/browse/OFBIZ-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin updated OFBIZ-5136: --------------------------------- Attachment: OFBIZ-5136-quick-test.patch OFBIZ-5136.patch OFBIZ-5136-now.png OFBIZ-5136-with-patch.png To test and understand the problem, I added two patches : * OFBIZ-5136.patch : contains the correction on modelForm * OFBIZ-5136-quick-test.patch : contains a modification on EditProduct form to have a quick example. It's not for commit ! Just test on local. I uploaded two screenshots : * OFBIZ-5136-now.png contains the example if you show a product with empty field after apply patch OFBIZ-5136-quick-test.patch * OFBIZ-5136-with-patch.png : after apply OFBIZ-5136.patch To test, apply OFBIZ-5136-quick-test.patch, go to catalog/control/EditProduct?productId=WG-1111 After, apply OFBIZ-5136.patch, compile and go to catalog/control/EditProduct?productId=WG-1111 I open for any suggest :) ! > fieldGroup will ignored if all contains fields are ignored > ---------------------------------------------------------- > > Key: OFBIZ-5136 > URL: https://issues.apache.org/jira/browse/OFBIZ-5136 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-5136-now.png, OFBIZ-5136.patch, > OFBIZ-5136-quick-test.patch, OFBIZ-5136-with-patch.png > > Original Estimate: 2h > Remaining Estimate: 2h > > When you have a fieldGroup that contains fields with use-when attribute, if > all fields aren't use, the fieldGroup is empty. > A possible improvment would be not display the field group -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira