[ http://issues.apache.org/jira/browse/COCOON-1320?page=all ]
Ralph Goers updated COCOON-1320:
--------------------------------
Bugzilla Id: (was: 32011)
Component: Blocks: Databases
(was: Blocks: (Undefined))
Description:
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(", ");
> }
was:
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(", ");
> }
> [PATCH] buildList in AbstractDatabaseAction generates incorrect parameter list
> ------------------------------------------------------------------------------
>
> Key: COCOON-1320
> URL: http://issues.apache.org/jira/browse/COCOON-1320
> Project: Cocoon
> Type: Bug
> Components: Blocks: Databases
> Versions: 2.1.5
> Environment: Operating System: Linux
> Platform: PC
> Reporter: wchao
> Assignee: Cocoon Developers Team
> Attachments: abc.tgz
>
> 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(", ");
> > }
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira