Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9rc3
-
None
-
None
Description
There's a bug in getTModelDetail UDDI operation, it's in the org.apache.juddi.datastore.jdbc.JDBCDataStore class's fetchTModel method, when fech the TModel's IdentifierBag the code should be:
Vector idVector = TModelIdentifierTable.select(tModelKey,connection);
if (idVector != null && idVector.size() != 0)
but the original code is:
Vector idVector = TModelIdentifierTable.select(tModelKey,connection);
if (idVector != null)
it doesn't follow the UDDI.xsd when retured to client side and will cause a exception.