Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 37204 invoked from network); 13 Jun 2007 22:14:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 22:14:46 -0000 Received: (qmail 78217 invoked by uid 500); 13 Jun 2007 22:14:50 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 78174 invoked by uid 500); 13 Jun 2007 22:14:50 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 78163 invoked by uid 99); 13 Jun 2007 22:14:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 15:14:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 15:14:45 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D3995714062 for ; Wed, 13 Jun 2007 15:14:25 -0700 (PDT) Message-ID: <13318021.1181772865847.JavaMail.jira@brutus> Date: Wed, 13 Jun 2007 15:14:25 -0700 (PDT) From: "Ross Gardler (JIRA)" To: dev@forrest.apache.org Subject: [jira] Created: (FOR-1010) Per folder themes do not work in sub-subfolders MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Per folder themes do not work in sub-subfolders ----------------------------------------------- Key: FOR-1010 URL: https://issues.apache.org/jira/browse/FOR-1010 Project: Forrest Issue Type: Bug Components: Plugin: internal.dispatcher Affects Versions: 0.8 Reporter: Ross Gardler Priority: Minor It is supposed to be possible to create custom views that will be applied to a given folder. However there appears to be a problem with the generation of the theme when a subfolder contains another subfolder which in turn provides a customised theme. To illustrate this I have added some basic example docs to the dispatcher plugin (see the SVN record for this issue for details). To reproduce the error request do forrest run on the dispatcher plugin then request http://localhost:8888/how/perFolderThemes/index.html this page will correctly display the pelt theme without the pdf export (this is the customisation I made to the pelt theme here). Now request http://localhost:8888/how/perFolderThemes/subFolder/index.html and you will see the same theme, but it should be pelt minus the pdf *and* minues the breadcrumb trail (as defined in pelt.fv in this folder). Restart forrest, this will clear the caches. Now request the same pages but in the other order, i.e. request http://localhost:8888/how/perFolderThemes/subFolder/index.html first and you will see the correct theme (pelt minus breadcrumbs and PDF), then request http://localhost:8888/how/perFolderThemes/index.html and you see the same theme (it should be pelt minus pdf, but with the breadcrumbs). It looks to me like the locationmap cache is being fooled into thinking the first request match is the one needed. I don't think the error is in the locationmap but rather in the way the dispatcher generates the theme. However, I have not done any detective work to verify this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.