[Zope] Acquisition acting wierd

Evan Simpson evan@4-am.com
Tue, 11 Jan 2000 11:37:34 -0600


Itamar Shtull-Trauring wrote:

> We have the following folder structure
>
> /-|
>   |-standard_html_header
>   |
>   |-all_about/-
>   |           |
>   |           |-standard_html_header
>   |
>   |
>   |-foods/-----
>               |
>               |-cheese
>
> http://zope:8080/foods/all_about/cheese  or
> http://zope:8080/all_about/foods/cheese
> should acquire standard_html_header from all_about, not from the root
> folder.  But instead the stand_html_header from the top level is displayed.

This is the "proper" behavior, unless 'cheese' is a method.  If it's a method,
I'm not sure what's going on.

/foods/all_about/cheese becomes (/foods/cheese) of (/all_about) of (/foods)
while
/all_about/foods/cheese becomes (/foods/cheese) of (/all_about).

In either case /foods/cheese is searched first, finding /standard_html_header.

Cheers,

Evan @ 4-am