[zope2-tracker] [Bug 428892] [NEW] browser:resourceDirectory traverser

macadames jeanmat.grimaldi at gmail.com
Sun Sep 13 10:55:31 EDT 2009


Public bug reported:

Hi,

There is a problem with resource directories traverser :

- create a browser resouce directory with this declaration in
configure.zcml :

    <!-- Resource directory for static files -->
    <browser:resourceDirectory
        name="test_rd"
        directory="test"
        />   

- create a folder test with 2 subfolders named "subtest" and "lang"

- create a simple txt file named 'abcdef.txt' under each of these
subdirectories

- start your zope instance

- try to get these files through the web,

http://localhost:8080/plonesite/++resource++test_rd/subtest/abcdef.txt

is working fine

   http://localhost:8080/plonesite/++resource++test_rd/lang/abcdef.txt

returns a 404 error

This problem has been temporary fixed with this package
(iw.resourcetraverser) installed :

http://products.ingeniweb.com/catalog/iw-resourcetraverser

Many thanks

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
browser:resourceDirectory traverser
https://bugs.launchpad.net/bugs/428892
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list