[Zope] Simple DTML Method/Acquisition problem + bug report

Michel Pelletier michel@digicool.com
Fri, 5 Mar 1999 16:10:36 -0500


> -----Original Message-----
> From: David Ascher [mailto:da@ski.org]
> Sent: Friday, March 05, 1999 1:52 PM
> To: Michael Bernstein
> Cc: The Zope Group
> Subject: Re: [Zope] Simple DTML Method/Acquisition problem + 
> bug report
> 
> 
> On Fri, 5 Mar 1999, Michael Bernstein wrote:
> 
> > Try: <!--#var "sidebar(PARENTS[-1],REQUEST)"-->
> > 
> > This will call the method using the root folders' namespace, thereby
> > showing all qualifiying subfolders regardless of where the method is
> > called from. You might have to modify your method to 
> construct absolute
> > URL's.
> 
> Thanks!  What I actually wanted was sidebar(PARENTS[0], 
> REQUEST), but you
> pointed me in the direction I needed.  Now I have to 
> understand it, but
> that's much easier with working code. 
> 
> This also led me to find a bug.  I was wondering why the 
> REQUEST parameter
> was needed, so I tried to remove it.  The next time I loaded a page
> calling this code, the ZServer process died with the Win32 
> equivalent of a
> segfault.  Is it just me?  I don't dare try it on another 
> Zope server =).  
> [Zope 1.10.2, latest ZServer, win32, NT4SP3]
> 

Could you submit this bug report to the Collector?

http://www.zope.org/Collector

Thanks,

-Michel

> --david
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>