[ http://issues.apache.org/jira/browse/JUDDI-42?page=history ]
     
Steve Viens closed JUDDI-42:
----------------------------

     Resolution: Fixed
    Fix Version: 0.9

This bug has been confirmed and the proposed fix has been applied. Thanks to 
Jeff Zhang for submitting this.

> FindRelatedBusinesses function miss businessKey
> -----------------------------------------------
>
>          Key: JUDDI-42
>          URL: http://issues.apache.org/jira/browse/JUDDI-42
>      Project: jUDDI
>         Type: Bug
>     Versions: 0.9rc3
>     Reporter: Jeff Zhang
>     Assignee: Steve Viens
>      Fix For: 0.9

>
> There is a bug in FindRelatedBusinessesFunction.java
> Base on uddi spec, relatedBusinessesList struct should include the 
> businessKey.  But in code, jUDDI miss 
> it:(src/java/org/apache/juddi/function/FindRelatedBusinessesFunction.java 
> L98-104)
>       RelatedBusinessesList list = new RelatedBusinessesList();
>       list.setGeneric(generic);
>       list.setOperator(Config.getOperator());
>       list.setTruncated(truncatedResults);
>       list.setRelatedBusinessInfos(infos);
>       return list;
> Thus will cause some UDDI client fail when it verify UDDI_v2.xsd. Adding a 
> line before the list return:
>       list.setBusinessKey(new 
> org.apache.juddi.datatype.BusinessKey(businessKey));
> will resolve this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to