Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 89972 invoked from network); 31 Mar 2006 18:36:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2006 18:36:44 -0000 Received: (qmail 20146 invoked by uid 500); 31 Mar 2006 18:36:40 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 20111 invoked by uid 500); 31 Mar 2006 18:36:40 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 20082 invoked by uid 99); 31 Mar 2006 18:36:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 10:36:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 10:36:39 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D94E86ACB3 for ; Fri, 31 Mar 2006 19:36:18 +0100 (BST) Message-ID: <1595497809.1143830178887.JavaMail.jira@ajax> Date: Fri, 31 Mar 2006 19:36:18 +0100 (BST) From: "Carlin Rogers (JIRA)" To: dev@beehive.apache.org Subject: [jira] Closed: (BEEHIVE-1089) NetUI page flow compiler's WebappPathType.checkRelativePath() needs to handle paths to JPF that begin with "./" In-Reply-To: <17136612.1143826954691.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-1089?page=all ] Carlin Rogers closed BEEHIVE-1089: ---------------------------------- Resolution: Fixed Sorry, my browser got an error page when I submitted this. Closing as a duplicate of BEEHIVE-1090. > NetUI page flow compiler's WebappPathType.checkRelativePath() needs to handle paths to JPF that begin with "./" > --------------------------------------------------------------------------------------------------------------- > > Key: BEEHIVE-1089 > URL: http://issues.apache.org/jira/browse/BEEHIVE-1089 > Project: Beehive > Type: Bug > Versions: 1.0.1 > Reporter: Carlin Rogers > Assignee: Carlin Rogers > Priority: Minor > Fix For: v.next > > Add an action such as the following to a page flow controller: > @Jpf.Action(forwards = { > @Jpf.Forward(name = "success", > path = "./subdir/Controller.jpf") > }) > protected Forward AddAction() { ... } > As the jpf compiler does its thing, it translates external pageflow paths into type names and then requests those types. Here it is incorrectly translating "./subdir/Controller.jpf" to a type name "..subdir.Controller" > which may cause an APT implementation to barf when we try to get a TypeDeclaration from this name. With the Sun APT, we get a null type without an error, but then this causes us to write a warning that we cannot find the page flow for the given path. > The problem is in org.apache.beehive.netui.compiler.grammar.WebappPathType.checkRelativePath(). It does some stuff to look for "../" at the beginning of a path but does not handle "./". > I'll add a zip file for the repro. The fix is coming shortly. -- 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