CLONE -find by category/identifier bugs
---------------------------------------
Key: JUDDI-80
URL: http://issues.apache.org/jira/browse/JUDDI-80
Project: jUDDI
Type: Bug
Reporter: osman findik
Assigned to: Steve Viens
I encountered a FindServiceByCategory bug (when my
category doesn't specify keyname), and I check other
find_xxxx, and here is a list I see:
for <find_business>:
(1)
FindBusinessByIdentifierQuery.java:121
UDDI spec (v2) says keyNames are not significant,
should remove
KEY_NAME from the sql query.
(2)
FindBusinessByCategoryQuery.java:122
UDDI spec (v2) says keyNames are not significant,
unless the
tmodelkey is referring to uddi-org:general_keywords
(missing
tModelKey should be treated as uddi-org:general_keywords).
Additional checks should be put in AND when tmodelkey
is not of
uddi-org:general_keywords, KEY_NAME should be removed
from the
sql query.
for <find_service>:
(3)
FindServiceByCategoryQuery.java:112
UDDI spec (v2) says: businesskey is optional. Should do
additional checks on the sql construction or ''/'null'
will be
slipped in.
(4)
FindServiceByCategoryQuery.java:130
same as (2), additional checks needed.
<find_tModel>
(5)
FindTModelByCategoryQuery.java:125
same as (2).
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira