You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2009/10/06 06:57:21 UTC

svn commit: r822123 - /webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java

Author: kstam
Date: Tue Oct  6 04:57:20 2009
New Revision: 822123

URL: http://svn.apache.org/viewvc?rev=822123&view=rev
Log:
JUDDI-289 fixing INFO: Application has thrown exception, unwinding now: org.apache.juddi.error.InvalidKeyPassedException: The binding template being saved has a different parent service key then the one provided:  uddi:juddi.apache.org:services-helloworld, uddi:juddi.apache.org:businesses-asf

we are looking at the businessKey; not the serviceKey; fixing that now.

Modified:
    webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java

Modified: webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java?rev=822123&r1=822122&r2=822123&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java (original)
+++ webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/validation/ValidatePublish.java Tue Oct  6 04:57:20 2009
@@ -593,7 +593,7 @@
 		
 		if (parent != null) {
 			if (parentKey != null && parentKey.length() > 0) {
-				if (!parentKey.equalsIgnoreCase(parent.getBusinessKey()))
+				if (!parentKey.equalsIgnoreCase(parent.getServiceKey()))
 					throw new InvalidKeyPassedException(new ErrorMessage("errors.invalidkey.bindingtemplate.ParentMismatch", parentKey + ", " + parent.getBusinessKey()));
 			}
 			else



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