browser:resourceDirectory traverser

Bug #428892 reported by macadames
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Low
yboussard

Bug Description

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

Revision history for this message
Silvio Tomatis (silvio-gropen) wrote :

I was having the same problem with a subdirectory named "adapter".
iw.resourcetraverser solved my problem.
Thanks.
Any chance of seeing this merged?

Revision history for this message
Tres Seaver (tseaver) wrote :

I don't see anything here in shape to be merged. If the author of that package
approves, then either of you could make a patch against the Zope 2.12 branch
and upload it here. See http://docs.zope.org/developer/noncommitter-svn.html
for notes on this process.

Changed in zope2:
assignee: nobody → yboussard (y-boussard-ingeniweb)
Changed in zope2:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.