Author: chrisg
Date: Thu Jun 2 16:20:11 2016
New Revision: 1746601
URL: http://svn.apache.org/viewvc?rev=1746601&view=rev
Log:
OFBIZ-7163 Fix Definition Location filter at Service Reference
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=1746601&r1=1746600&r2=1746601&view=diff
==============================================================================
---
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
(original)
+++
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
Thu Jun 2 16:20:11 2016
@@ -539,8 +539,7 @@ if (!selectedService) {
}
if (canIncludeService &&
constraintName.equals("definitionLocation")) {
- fullPath = "file:/" + System.getProperty("ofbiz.home") + "/" +
constraintVal;
- canIncludeService =
curServiceModel.definitionLocation.equals(fullPath);
+ canIncludeService =
curServiceModel.definitionLocation.equals(constraintVal);
}
if (canIncludeService && constraintName.equals("alpha")) {