[Zope-dev] Re: Bug in AbsoluteURL Adapter

2007-11-28 Thread Sebastian Wehrmann
Philipp von Weitershausen schrieb: Sebastian Wehrmann wrote: while using the AbsoluteURL Adapter in a view, By the way, you're using Five's AbsoluteURL adapter. (It's different from the one in Zope 3). Also, the patch below seems to be for Five. Would be good to mention that :). You are

[Zope-dev] Re: Bug in AbsoluteURL Adapter

2007-11-28 Thread Philipp von Weitershausen
On 28 Nov 2007, at 11:45 , Sebastian Wehrmann wrote: Can you round up a test that demonstrates how the current implementation fails to cover your case and how your suggestion change fixes that? While trying to write a test it turned out, that it's not a problem in Five but in the

Re: [Zope-dev] Re: Bug in AbsoluteURL Adapter

2007-11-28 Thread Philipp von Weitershausen
On 28 Nov 2007, at 12:54 , Daniel Havlik wrote: Am 28.11.2007 um 12:01 schrieb Philipp von Weitershausen: The problem we tried to solve was: We have a structure of Plone content objects. We wanted to access a particular one in a view which can be called anywhere. Therefore we registered this

[Zope-dev] Re: Bug in AbsoluteURL Adapter

2007-11-27 Thread Philipp von Weitershausen
Sebastian Wehrmann wrote: while using the AbsoluteURL Adapter in a view, By the way, you're using Five's AbsoluteURL adapter. (It's different from the one in Zope 3). Also, the patch below seems to be for Five. Would be good to mention that :). it only returns the path of the object, not