juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Viens (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] Resolved: (JUDDI-50) Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?
Date Wed, 02 Feb 2005 03:06:25 GMT
     [ http://issues.apache.org/jira/browse/JUDDI-50?page=history ]
Steve Viens resolved JUDDI-50:

     Resolution: Fixed
    Fix Version: 0.9

As indicated in this issue, when only the "sortByNameAsc" find qualifier is specified, BusinessList,
ServiceList and TModelList were not being returned in the correctly sorted order (ascending
by name). 

I've applied the attached patch to FindServiceByName and made (very) similar fixes to FindBusinessByName
and FindTModelByNAme.

Thanks to Mathieu Peltier for identifying this issue and supplying a patch. 

> Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?
> ------------------------------------------------------------------------------
>          Key: JUDDI-50
>          URL: http://issues.apache.org/jira/browse/JUDDI-50
>      Project: jUDDI
>         Type: Bug
>  Environment: Latest jUDDI CVS version (2005-01-21) deployed in JOnAS
>     Reporter: Mathieu Peltier
>     Assignee: Steve Viens
>      Fix For: 0.9
>  Attachments: FindServiceByNameQuery_patch.txt
> It seems that there is a bug in ws-juddi/src/java/org/apache/juddi/datastore/jdbc/FindServiceByNameQuery.java#appendOrderBy(DynamicQuery,FindQualifiers)
> If:
> qualifiers.sortByNameAsc=true
> qualifiers.sortByNameDesc=false
> qualifiers.sortByDateAsc=false
> qualifiers.sortByDateDesc=false
> -> the generated ORDER BY clause is not ORDER BY N.NAME ASC

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message