[Zope-CMF] skinstools: lookup problem for components containing subpaths

Andreas Jung lists at andreas-jung.com
Sat Nov 1 06:12:47 EST 2003


Hi,

inside portal_skins I have two filesysemdirectory views 'plonecollectorng'
and 'archetypes'. Both views have a subdirectory 'widgets'. The 
'plonecollectorng'
view  is configured  to be searched before the 'archetypes' view.
When using a path expression here/widgets/foobar/macros/somemacro then
'foobar' is only found when 'foobar.pt' is found under widgets/foobar.pt
in the plonecollectorng view but it gives a KeyError when it is available
in the 'archetypes ' view. This lookup behaviour seems to be different from 
the
standard lookup behaviour where a file is searched throughout all possible
layers.

Andreas




More information about the Zope-CMF mailing list