Author: jonesde
Date: Sat Feb 17 23:25:04 2007
New Revision: 508884

URL: http://svn.apache.org/viewvc?view=rev&rev=508884
Log:
Small change to an error message to show the name of the permission-service

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java

Modified: 
ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java?view=diff&rev=508884&r1=508883&r2=508884
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java 
(original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceDispatcher.java 
Sat Feb 17 23:25:04 2007
@@ -764,7 +764,7 @@
             Map permResp = origService.evalPermission(dctx, context);          
  
             Boolean hasPermission = (Boolean) permResp.get("hasPermission");
             if (hasPermission == null) {
-                throw new ServiceAuthException("ERROR: the permission-service 
did not return a result. Not running the service [" + origService.name + "]");
+                throw new ServiceAuthException("ERROR: the permission-service 
[" + origService.permissionServiceName + "] did not return a result. Not 
running the service [" + origService.name + "]");
             }
             if (hasPermission.booleanValue()) {
                 context.putAll(permResp);


Reply via email to