Improved: Generic message from entity-auto service can be enhanced. For example ProductStoreFacility Updated Successfully, we can have better success message as Product Store Facility Updated Successfully.
(OFBIZ-10409) Thanks Suraj Khurana for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1832309 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -45,7 +45,7 @@ public final class ModelInfo {
|
||||
public static ModelInfo createFromAttributes(ModelInfo defaultInfo, Element element) {
|
||||
String title = element.getAttribute("title").intern();
|
||||
if (title.isEmpty()) {
|
||||
title = defaultInfo.getTitle();
|
||||
title = element.getAttribute("entity-name").intern();
|
||||
}
|
||||
String description = StringUtil.internString(UtilXml.childElementValue(element, "description"));
|
||||
if (description == null || description.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user