Re: [Zope-dev] bug in CatalogAwareness?

2000-08-27 Thread Steve Alexander
Steve Alexander wrote: > Shane Hathaway wrote: > > > > > I was suspicious of the entire method so I wrote a replacement which is > > based on a new interface available in Zope. I *think* it's correct, > > but it's a drastic change so it's only in the new PTK and nowhere > > else. (This is sli

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-27 Thread Steve Alexander
Shane Hathaway wrote: > > I was suspicious of the entire method so I wrote a replacement which is > based on a new interface available in Zope. I *think* it's correct, > but it's a drastic change so it's only in the new PTK and nowhere > else. (This is slightly modified from PTK CVS.) > >

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-24 Thread Shane Hathaway
Steve Alexander wrote: > > Shane Hathaway wrote: > > > > Steve Alexander wrote: > > > In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url": > > > > > > def url(self, ftype=urllib.splittype, fhost=urllib.splithost): > > > """Return a SCRIPT_NAME-based url for an object

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-24 Thread Chris Withers
Shane Hathaway wrote: > > Does it work with SiteAccess? > > Untested, but it should work, yes. I hope so, Squishdot uses exactly the same code now ;-) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/z

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-24 Thread Steve Alexander
Shane Hathaway wrote: > > Steve Alexander wrote: > > In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url": > > > > def url(self, ftype=urllib.splittype, fhost=urllib.splithost): > > """Return a SCRIPT_NAME-based url for an object.""" > > if hasattr(self, 'Dest

Re: [Zope-dev] bug in CatalogAwareness?

2000-08-24 Thread Shane Hathaway
Steve Alexander wrote: > In lib/python/Products/ZCatalog/CatalogAwareness.py, the method "url": > > def url(self, ftype=urllib.splittype, fhost=urllib.splithost): > """Return a SCRIPT_NAME-based url for an object.""" > if hasattr(self, 'DestinationURL') and \ >call