You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Mathieu Peltier (JIRA)" <ju...@ws.apache.org> on 2005/01/21 16:56:19 UTC

[jira] Created: (JUDDI-50) Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?

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
 Assigned to: Steve Viens 
 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) method.

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:
   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] Updated: (JUDDI-50) Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?

Posted by "Mathieu Peltier (JIRA)" <ju...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JUDDI-50?page=history ]

Mathieu Peltier updated JUDDI-50:
---------------------------------

    Attachment: FindServiceByNameQuery_patch.txt

Please review the attached patch that seems to fix the pb.


> 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
>  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) method.
> 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:
   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-50) Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?

Posted by "Steve Viens (JIRA)" <ju...@ws.apache.org>.
     [ 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) method.
> 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:
   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-50) Pb with appendOrderBy() method of juddi/datastore/jdbc/FindServiceByNameQuery?

Posted by "Steve Viens (JIRA)" <ju...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JUDDI-50?page=history ]
     
Steve Viens closed JUDDI-50:
----------------------------


Completed testing of these fixes this morning.

> 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) method.
> 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:
   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