You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by ju...@ws.apache.org on 2004/10/19 03:36:51 UTC
[jira] Created: (JUDDI-41) getTModelDetail bug
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JUDDI-41
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JUDDI-41
Summary: getTModelDetail bug
Type: Bug
Status: Open
Priority: Minor
Project: jUDDI
Versions:
0.9rc3
Assignee: Steve Viens
Reporter: Alex
Created: Mon, 18 Oct 2004 6:35 PM
Updated: Mon, 18 Oct 2004 6:35 PM
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)
{
IdentifierBag idBag = new IdentifierBag();
idBag.setKeyedReferenceVector(idVector);
tModel.setIdentifierBag(idBag);
}
but the original code is:
Vector idVector = TModelIdentifierTable.select(tModelKey,connection);
if (idVector != null)
{
IdentifierBag idBag = new IdentifierBag();
idBag.setKeyedReferenceVector(idVector);
tModel.setIdentifierBag(idBag);
}
it doesn't follow the UDDI.xsd when retured to client side and will cause a exception.
---------------------------------------------------------------------
JIRA INFORMATION:
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
[jira] Resolved: (JUDDI-41) getTModelDetail bug
Posted by ju...@ws.apache.org.
Message:
The following issue has been resolved as FIXED.
Resolver: Steve Viens
Date: Tue, 19 Oct 2004 10:23 AM
Fixed per instructions provided.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JUDDI-41
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JUDDI-41
Summary: getTModelDetail bug
Type: Bug
Status: Resolved
Priority: Minor
Resolution: FIXED
Project: jUDDI
Fix Fors:
0.9
Versions:
0.9rc3
Assignee: Steve Viens
Reporter: Alex
Created: Mon, 18 Oct 2004 6:35 PM
Updated: Tue, 19 Oct 2004 10:23 AM
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)
{
IdentifierBag idBag = new IdentifierBag();
idBag.setKeyedReferenceVector(idVector);
tModel.setIdentifierBag(idBag);
}
but the original code is:
Vector idVector = TModelIdentifierTable.select(tModelKey,connection);
if (idVector != null)
{
IdentifierBag idBag = new IdentifierBag();
idBag.setKeyedReferenceVector(idVector);
tModel.setIdentifierBag(idBag);
}
it doesn't follow the UDDI.xsd when retured to client side and will cause a exception.
---------------------------------------------------------------------
JIRA INFORMATION:
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
[jira] Closed: (JUDDI-41) getTModelDetail bug
Posted by "Steve Viens (JIRA)" <ju...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/JUDDI-41?page=history ]
Steve Viens closed JUDDI-41:
----------------------------
Fix has been tested and verified.
> getTModelDetail bug
> -------------------
>
> Key: JUDDI-41
> URL: http://issues.apache.org/jira/browse/JUDDI-41
> Project: jUDDI
> Type: Bug
> Versions: 0.9rc3
> Reporter: Alex
> Assignee: Steve Viens
> Priority: Minor
> Fix For: 0.9
>
> 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)
> {
> IdentifierBag idBag = new IdentifierBag();
> idBag.setKeyedReferenceVector(idVector);
> tModel.setIdentifierBag(idBag);
> }
> but the original code is:
> Vector idVector = TModelIdentifierTable.select(tModelKey,connection);
> if (idVector != null)
> {
> IdentifierBag idBag = new IdentifierBag();
> idBag.setKeyedReferenceVector(idVector);
> tModel.setIdentifierBag(idBag);
> }
> it doesn't follow the UDDI.xsd when retured to client side and will cause a exception.
--
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