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