You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "SourceForge.net" <no...@sourceforge.net> on 2003/10/07 08:46:13 UTC

[juddi-Developers] [ juddi-Bugs-819064 ] FindServiceByTModelKeyQuery broken

Bugs item #819064, was opened at 2003-10-06 23:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=819064&group_id=42875

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: FindServiceByTModelKeyQuery broken

Initial Comment:
In the appendWhere() method, the elements of the 
tModelBag are cast to TModelKey:

        TModelKey tModelKey = (TModelKey)
keyVector.elementAt(i);
        String key = tModelKey.getValue();

However, the TModelHandler class unmarshalls those 
elements as String, resulting in an ClassCastException.

This is fixed if the above lines are replaced with:

        String key = (String) keyVector.elementAt(i);

Marcel

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=819064&group_id=42875