svn commit: r1763695 - /ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1763695 - /ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

jleroux@apache.org
Author: jleroux
Date: Fri Oct  7 08:40:01 2016
New Revision: 1763695

URL: http://svn.apache.org/viewvc?rev=1763695&view=rev
Log:
Fixed: The entity description labels are considered not used by the Label Manager
(OFBIZ-8154)

The languages Ids and buildEbayConfig.* are used.

Modified:
    ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java

Modified: ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java?rev=1763695&r1=1763694&r2=1763695&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java (original)
+++ ofbiz/trunk/framework/webtools/src/main/java/org/apache/ofbiz/webtools/labelmanager/LabelManagerFactory.java Fri Oct  7 08:40:01 2016
@@ -140,6 +140,8 @@ public class LabelManagerFactory {
                                     || labelKey.contains("TemporalExpression_")
                                     || labelKey.contains(".portalPageName.")
                                     || labelKey.contains("ProductStoreGroup.productStoreGroupName.NA")
+                                    || labelKey.contains("buildEbayConfig.")
+                                    || (labelKey.length() == 2) // These are languages Ids
                                     )) {
                         continue; // OFBIZ-8154 WIP
                     }