Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 56552 invoked from network); 18 Dec 2003 16:21:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Dec 2003 16:21:33 -0000 Received: (qmail 1740 invoked by uid 500); 18 Dec 2003 16:21:23 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 1700 invoked by uid 500); 18 Dec 2003 16:21:23 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 1686 invoked from network); 18 Dec 2003 16:21:23 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 18 Dec 2003 16:21:23 -0000 Received: (qmail 2504 invoked by uid 50); 18 Dec 2003 16:21:41 -0000 Date: 18 Dec 2003 16:21:41 -0000 Message-ID: <20031218162141.2503.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 25098] - SQLTransformer fails to return number of rows updated X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25098 SQLTransformer fails to return number of rows updated ------- Additional Comments From andrzej@chaeron.com 2003-12-18 16:21 ------- I've patched the SQLTransformer to fix this bug in 2.1.2 (not sure if SQLTransformer changed between 2.1.2 and 2.1.3). The patched handles updates correctly, and returns a tag with the nrofrows attribute set to the number of rows that were updated/inserted. Note that the nrofrows attribute will always be included for updates/inserts regardless of the setting of the show-nr-of-rows parameter that can be set in your sitemap. The patched version of SQLTransformer for 2.1.2 is attached. Maybe a developer can do a diff with the 2.1.3 version and apply the patch to 2.1.3 as well. Thanks. ....Andrzej