[ https://issues.apache.org/jira/browse/OFBIZ-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4844. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Chatree, Your patch in trunk at revision: 1381559 Tested with NoteData.noteParty > Fields in extended entity do not override attribute enable-audit-log > -------------------------------------------------------------------- > > Key: OFBIZ-4844 > URL: https://issues.apache.org/jira/browse/OFBIZ-4844 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: SVN trunk > Environment: n/a > Reporter: Adam Kozak > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: audit_log.patch > > Original Estimate: 10m > Remaining Estimate: 10m > > When extending existing entity and overriding fields attribute > 'enable-audit-log' is not overriden. Suggested patch in ModelEntity.java: > if (UtilValidate.isNotEmpty(field.getDescription())) { > existingField.setDescription(field.getDescription()); > } > + existingField.enableAuditLog = > UtilXml.checkBoolean(fieldElement.getAttribute("enable-audit-log"), > existingField.enableAuditLog); > } else { -- 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