Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 42985 invoked from network); 18 Mar 2004 20:40:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Mar 2004 20:40:00 -0000 Received: (qmail 45041 invoked by uid 500); 18 Mar 2004 20:39:45 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44975 invoked by uid 500); 18 Mar 2004 20:39:45 -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 44956 invoked from network); 18 Mar 2004 20:39:44 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 18 Mar 2004 20:39:44 -0000 Received: (qmail 22066 invoked by uid 50); 18 Mar 2004 20:40:19 -0000 Date: 18 Mar 2004 20:40:19 -0000 Message-ID: <20040318204019.22065.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 27785] - Form redisplays with validation errors after submit from 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://issues.apache.org/bugzilla/show_bug.cgi?id=27785 Form redisplays with validation errors after submit from ------- Additional Comments From ml@wrinkledog.com 2004-03-18 20:40 ------- I see this call chain: Field.readFromRequest() => FIeld.getValue() => (super) AbstractWidget.validate() => (inherited from AbstractWidgetDefinition) FieldDefinition.validate() This call chain is kicked off when the client invokes the continuation from sendPageAndWait(). just appears to work because its handleActivate() calls Form.endProcessing(false), which tells the flow layer to just move on and not redisplay the form. The call to getValue() in Field.readFromRequest carries this comment in the source: // TODO: This cause validation to occur too early.