From 3b4e2b7ec5fe888f262aa318ee0e8fd78946ca3a Mon Sep 17 00:00:00 2001 From: Jacopo Cappellato Date: Wed, 16 Jul 2014 07:16:15 +0000 Subject: [PATCH] Fixed miscellaneous errors spotted while reviewing the logs generated by the ArtifactInfo tool. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610918 13f79535-47bb-0310-9956-ffa450edef68 --- .../ofbiz/accounting/agreement/AgreementServices.xml | 12 ++++++------ applications/accounting/widget/AgreementScreens.xml | 3 --- .../org/ofbiz/manufacturing/bom/BomSimpleMethods.xml | 1 - .../script/org/ofbiz/sfa/lead/LeadServices.xml | 2 +- .../org/ofbiz/shipment/picklist/PicklistServices.xml | 3 +-- .../common/webcommon/WEB-INF/portal-controller.xml | 5 ++++- .../webtools/artifactinfo/ServiceArtifactInfo.java | 2 +- 7 files changed, 13 insertions(+), 15 deletions(-) diff --git a/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml b/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml index b8f14797b6..9067e28de1 100644 --- a/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml +++ b/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml @@ -100,12 +100,12 @@ under the License. - - - - - - + + + + + + diff --git a/applications/accounting/widget/AgreementScreens.xml b/applications/accounting/widget/AgreementScreens.xml index 320b1e214c..8219f3b9a1 100644 --- a/applications/accounting/widget/AgreementScreens.xml +++ b/applications/accounting/widget/AgreementScreens.xml @@ -485,9 +485,6 @@ under the License. - - - diff --git a/applications/manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml b/applications/manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml index 8eea9aeefa..1fca4a59ea 100644 --- a/applications/manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml +++ b/applications/manufacturing/script/org/ofbiz/manufacturing/bom/BomSimpleMethods.xml @@ -25,7 +25,6 @@ under the License. - diff --git a/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml b/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml index e8c937490a..9d58161273 100644 --- a/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml +++ b/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml @@ -139,7 +139,7 @@ - + diff --git a/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml b/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml index 7525d1afdb..17298d4eb4 100644 --- a/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml +++ b/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml @@ -947,8 +947,7 @@ under the License. - editPicklistItem --> - Edit a Picklist Item - + diff --git a/framework/common/webcommon/WEB-INF/portal-controller.xml b/framework/common/webcommon/WEB-INF/portal-controller.xml index 3fedee1eda..46fe92ca39 100644 --- a/framework/common/webcommon/WEB-INF/portal-controller.xml +++ b/framework/common/webcommon/WEB-INF/portal-controller.xml @@ -21,7 +21,10 @@ under the License. Portal ControlServlet Configuration File - + + + + diff --git a/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java b/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java index 40531007b1..81e78ff401 100644 --- a/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java +++ b/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java @@ -121,7 +121,7 @@ public class ServiceArtifactInfo extends ArtifactInfoBase { } protected void populateEntitiesFromNameSet(Set allEntityNameSet) throws GeneralException { for (String entityName: allEntityNameSet) { - if (entityName.contains("${")) { + if (UtilValidate.isEmail(entityName) || entityName.contains("${")) { continue; } // attempt to convert relation names to entity names