Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 4656 invoked from network); 4 Jun 2004 11:32:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jun 2004 11:32:38 -0000 Received: (qmail 78519 invoked by uid 500); 4 Jun 2004 11:32:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 78278 invoked by uid 500); 4 Jun 2004 11:32:32 -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 78261 invoked by uid 99); 4 Jun 2004 11:32:32 -0000 Received: from [212.8.217.2] (HELO mail.s-und-n.de) (212.8.217.2) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 04 Jun 2004 04:32:31 -0700 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id B53E819F5F1 for ; Fri, 4 Jun 2004 13:32:24 +0200 (CEST) Received: from hw0386 ([10.10.2.43]) by notes.sundn.de (Lotus Domino Release 6.5) with ESMTP id 2004060413233621-26664 ; Fri, 4 Jun 2004 13:23:36 +0200 From: "Carsten Ziegeler" To: Subject: RE: [CVS] Flow bug in redirections? Test case inside. Date: Fri, 4 Jun 2004 13:32:18 +0200 Organization: S&N AG MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <35091.10.0.0.5.1086271994.squirrel@ags01.agsoftware.dnsalias.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRJc8sOQ+M7n5JSRm6D5PfmaD6kDQAs7X7g X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 04.06.2004 13:23:36, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 04.06.2004 13:23:37, Serialize complete at 04.06.2004 13:23:37 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Antonio, just to be sure: did B to D work in 2.1.4/2.1.5 as you expect or do they produce they same error? Carsten > -----Original Message----- > From: Antonio Gallardo [mailto:agallardo@agssa.net] > Sent: Thursday, June 03, 2004 4:13 PM > To: dev@cocoon.apache.org > Subject: [CVS] Flow bug in redirections? Test case inside. > > Hi: > > I have 2 days with this problem. Here is a test case of the > redirection problem in flow: > > 1-Build Cocoon with samples. > 2-Run ./cocoon.sh servlet > 3-Copy $COCOON_HOME/build/webapp/samples/flow to > $COCOON_HOME/build/webapp/samples/flowbug > (we need it because we will make a call from flowbug to flow. > > 4-Change line 38 in > $COCOON_HOME/build/webapp/samples/flowbug/jxcalc/calc.js to any of: > > A-var uri = "samples/flow/jxcalc/page/getNumber" + > name.toUpperCase(); B-var uri = > "/samples/flow/jxcalc/page/getNumber" + name.toUpperCase(); > C-var uri = "//samples/flow/jxcalc/page/getNumber" + > name.toUpperCase(); D-var uri = > "///samples/flow/jxcalc/page/getNumber" + name.toUpperCase(); > > 5- On a browser, connect to: > > http://localhost:8888/samples/flowbug/jxcalc/ > > You will get: > ------------------------------------------------------------------ > A-No pipeline matched request: > samples/flowbug/jxcalc/samples/flow/jxcalc/page/getNumberA > > org.apache.cocoon.ResourceNotFoundException: No pipeline > matched request: > samples/flowbug/jxcalc/samples/flow/jxcalc/page/getNumberA > > COMMENT: It is OK. There does not exist in relative path. > ------------------------------------------------------------------ > B-No pipeline matched request: samples/flow/jxcalc/page/getNumberA > > org.apache.cocoon.ResourceNotFoundException: No pipeline > matched request: > samples/flow/jxcalc/page/getNumberA > > COMMENT: Why? It must go to the redirection in flow directory > using the sitemap that is in flow dir! > > ------------------------------------------------------------------ > C-No pipeline matched request: /samples/flow/jxcalc/page/getNumberA > > org.apache.cocoon.ResourceNotFoundException: No pipeline > matched request: > /samples/flow/jxcalc/page/getNumberA > > COMMENT: Again, why? As above, the link exists! > ------------------------------------------------------------------ > D-No pipeline matched request: //samples/flow/jxcalc/page/getNumberA > > org.apache.cocoon.ResourceNotFoundException: No pipeline > matched request: > //samples/flow/jxcalc/page/getNumberA > > COMMENT: Again, why? As above, the link exists! > ------------------------------------------------------------------ > > It will never go to the requested path! > > If it works, it would be the same as: > > http://localhost:8888/samples/flow/jxcalc/page/getNumberA > > And we would need to receive a diferent error: > > org.apache.cocoon.ProcessingException: Failed to execute pipeline.: > file:/home/agallardo/workspace/cocoon-2.1/build/webapp/samples > /flow/jxcalc/screens/getNumberA.xml:30:72:org.apache.commons.j > xpath.JXPathException: > No value for xpath: $cocoon/continuation/id > > Now the question is what is affecting that? > > Best Regards, > > Antonio Gallardo > >