cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32011] New: - buildList in AbstractDatabaseAction generates incorrect parameter list
Date Tue, 02 Nov 2004 03:05:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32011

buildList in AbstractDatabaseAction generates incorrect parameter list

           Summary: buildList in AbstractDatabaseAction generates incorrect
                    parameter list
           Product: Cocoon 2
           Version: 2.1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: wchao@yahoo.com


The buildList method in AbstractDatabaseAction does not put commas between
parameter names, leading to incorrect SQL queries.

A fix is the following (diff of AbstractDatabaseAction.java):

730a731,733
>                                               if (i < length - 1) {
>                                                       buffer.append(", ");
>                                               }

Mime
View raw message