[Zope] Dieter Mauer's Reference Product
Andrew Milton
akm at theinternet.com.au
Tue Mar 16 12:49:32 EDT 2010
+-------[ Dieter Maurer ]----------------------
| Brian Brinegar wrote at 2010-3-16 10:12 -0400:
| > ...
| >Second, through path notation or URL traversal, References under the
| >previous version of Zope would default to using methods / objects within
| >the target before falling back to acquisition. Under Zope 2.11 acquired
| >methods/objects take priority (only when traversed).
| >
| >For example, assuming there is an index_html in the root as well as in
| >the target, and using the following code:
| >
| > tal:content="container/MyReference/index_html/absolute_url_path"
| >
| >Zope 2.11 yields the path to the acquired index_html:
| >
| > /index_html
| >
| >Zope 2.9.6 yields the path to the index_html in the target:
| >
| > /Path/To/Target/index_html
| >
| >Again, through python, both yield the second, desired output.
|
| This sounds strange -- almost unbelievable.
|
2.10 is when TALES/TAL/ZPT were back-ported from Z3 into Z2, so not really
unbelievable d8)
Otherwise working things break crossing the 2.9/2.10 barrier.
I imagine the behaviour will be present from 2.10 onwards.
--
Andrew Milton
akm at theinternet.com.au
More information about the Zope
mailing list