ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r797315 - /webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java
Date Fri, 24 Jul 2009 03:06:07 GMT
Author: kstam
Date: Fri Jul 24 03:06:06 2009
New Revision: 797315

URL: http://svn.apache.org/viewvc?rev=797315&view=rev
Log:
SCOUT-76 orgKey could be null. If it is, we should return null rather than throwing a JAXRException.

Modified:
    webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java

Modified: webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java
URL: http://svn.apache.org/viewvc/webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java?rev=797315&r1=797314&r2=797315&view=diff
==============================================================================
--- webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java
(original)
+++ webservices/scout/branches/v1.1/scout/src/main/java/org/apache/ws/scout/registry/infomodel/ServiceImpl.java
Fri Jul 24 03:06:06 2009
@@ -82,6 +82,7 @@
         	} else {
         		RegistryService rs = super.getLifeCycleManager().getRegistryService();
         		BusinessQueryManager bqm = rs.getBusinessQueryManager();
+        		if (orgKey==null) return null;
                 Organization o = (Organization) bqm.getRegistryObject(orgKey,
                         LifeCycleManager.ORGANIZATION);
                 setProvidingOrganization(o);	



---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Mime
View raw message