[Zope] Zope-2.6 acquisition problem

Oliver Bleutgen myzope@gmx.net
Thu, 28 Nov 2002 17:18:04 +0100


Thierry Florac wrote:
>   Hi,
> 
> I'm building a web site using Zope-2.6.
> I created several new "folder like" products with new properties and
> methods, which hinerit from SimpleItem, PropertyManager and
> ObjectManager.
> My problem is simple :
>  1. I put an image in a folder, with name "logo" => OK
>  2. I put a different image in a subfolder, with name "toto" => OK
>  3. I rename the second image to "logo" => ERROR: when downloading the
> image, I get the image from the parent folder !!!
>  4. I rename the second image to "toto" => OK, I retrieve the original
> image...
> (and it's the same problem if I directly create an image called "logo"
> in the subfolder).
> 
> I think that this is in complete contradiction with Zope acquisition
> principles, so I suppose that I missed something...
> 
> Any idea will be greatly welcome...


How do you "show" the image when this happens, directly via it's url, an 
image-tag, or <dtml-var logo>?

cheers,
oliver