forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FOR-1010) Per folder themes do not work in sub-subfolders
Date Thu, 14 Jun 2007 12:54:26 GMT

     [ https://issues.apache.org/jira/browse/FOR-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thorsten Scherler closed FOR-1010.
----------------------------------

    Resolution: Fixed

Like I wrote in the mail that was leading to this issue, you need to implement the structurer
in
${project.resources-dir}/structurer/url

Which is working fine.

> 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.


Mime
View raw message