Fixes: The entity description labels are considered not used by the Label Manager

OFBIZ-8154

FieldDescription. is used in 2 places UtilHelpText.java (widget) WebToolsServices.java
HumanResServices. seems unused and should be removed
.portalPageName. is doubtful to be double checked
ProductShipmentUomAbbreviation_ used in PackOrder.ftl and WeightPackage.ftl
ProductStoreGroup.productStoreGroupName.NA not sure
TemporalExpression_ used in many place: ServiceDemoData.xml, ExpressionUiHelper.java, TempExprMaint.ftl and TemporalExpressions.java


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2016-09-14 10:18:23 +00:00
parent 393eb76561
commit 3f06be77d1
@@ -135,8 +135,14 @@ public class LabelManagerFactory {
|| labelKey.contains(".partyRelationshipName.")
|| labelKey.contains(".geoName.")
|| labelKey.contains(".categoryName.")
|| labelKey.contains("FieldDescription.")
|| labelKey.contains("ProductShipmentUomAbbreviation_")
|| labelKey.contains("TemporalExpression_")
)) {
continue; // OFBIZ-8154
continue; // OFBIZ-8154 WIP
// TODO HumanResServices. labels seems unused and should be removed
// TODO .portalPageName. is doubtful to be double checked
// TODO ProductStoreGroup.productStoreGroupName.NA not sure
}
String labelComment = "";
for (Node valueNode : UtilXml.childNodeList(propertyElem.getFirstChild())) {