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:
Rishi Solanki
2018-05-26 13:00:56 +00:00
parent 5ed72f1e95
commit 8430ac5cc3
3 changed files with 9 additions and 9 deletions
@@ -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()) {