You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2013/04/08 19:47:19 UTC

[jira] [Commented] (JUDDI-545) combineCategoryBags findQualifier not performing correctly when used in find_business call

    [ https://issues.apache.org/jira/browse/JUDDI-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625589#comment-13625589 ] 

Kurt T Stam commented on JUDDI-545:
-----------------------------------

Yep we only go "2 deep", and businesses can go "3 deep". CategoryBags on business and service *are* combined, however, categoryBags on BindingTemplates (on businesses) are not taken into account. We have to add this. Working on it now (finally).
                
> combineCategoryBags findQualifier not performing correctly when used in find_business call
> ------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-545
>                 URL: https://issues.apache.org/jira/browse/JUDDI-545
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1.3
>            Reporter: David Voets
>            Assignee: Kurt T Stam
>            Priority: Minor
>              Labels: combineCategoryBags, findQualifier, find_business
>             Fix For: 3.1.5
>
>
> The same issue as described in JUDDI-456 seems to be present when issuing a find_business call containing the combineCategoryBags findQualifier.
> Taking the same example as described in JUDDI-456, when I issue the query:
> <find_business>
>          <findQualifiers>
>             <findQualifier>combineCategoryBags</findQualifier>
>          </findQualifiers>
>          <categoryBag>
>             <keyedReference keyValue="value-z" tModelKey="uddi:tmodel:01"/>
>             <keyedReference keyValue="value-x" tModelKey="uddi:tmodel:02"/>
>          </categoryBag>
>       </find_business>
> I get no results.
> According to my understanding of the spec, the categoryBags under businessEntity, businessService and bindingTemplate should be combined when resolving this query:
> "In the case of find_business, this qualifier makes the categoryBag entries for the full businessEntity element behave as though all categoryBag elements found at the businessEntity level and in all contained or referenced businessService elements and bindingTemplate elements were combined.  Searching for a category will yield a positive match on a registered business if any of the categoryBag elements contained within the full businessEntity element (including the categoryBag elements within contained or referenced businessService elements or bindingTemplate elements) contains the filter criteria."
> I was also able to produce a similar unexpected result when first issuing a find_business query (without the combineCategoryBags qualifier) that returns  a result, then adding the combineCategoryBags findQualifier and issuing the query again. The second time I no longer get results.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira