Hi Martijn and Dieter!<br>Martijn is correct, absolutely!<br><br>At my product __bobo_traverse__ is calling __call__ method who do the dirty work<br><br>How could be the __bobo_traverse__ to work as expected with out losting traverse_subpath?
<br><br>I can't return self without losting traverse_subpath list and
that's because I don't return self to execute __call__ (index_html
returns __call__ too)<br><br>Thanks!!!<br><br><div><span class="gmail_quote">2007/3/26, Martijn Pieters <<a href="mailto:mj@zopatista.com">mj@zopatista.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 3/26/07, Dieter Maurer <<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>> wrote:<br>> Martijn is a Five expert and told you things that may happen<br>> when Five is heavily used.<br><br>Not as much as the other one though. ;) I (Martijn Pieters) attempted
<br>to help out, Martijn Faassen is the Five expert.<br><br>> I do not think that your problem is Five related -- and I am<br>> almost convinced that it is not related to your wrappers.<br><br>This is not a Five problem.
<br><br>> Unfortunately, I cannot tell you what causes your problem.<br>><br>> It seems to be authentication related.<br>><br>> I would verify "REQUEST._auth" (you told us, you were using<br>> HTTP basic authentication; then "REQUEST._auth should contain
<br>> the authorization info from the request) in your debugging session.<br>><br>> One potentially important hint from Martijn is to check<br>> where the failing "validate" is called. If the call comes
<br>> from traversal, then authentication did not yet happen (as<br>> Martijn has pointed out).<br><br>I suspect that he is doing something at traversal time that requires a<br>logged-in user. The publisher, however, won't look for a user until
<br>after traversal:<br><br>1) Traverse the URL<br>2) Look up user in the returned context<br>3) Call whatever traversal returned<br><br>If his __bobo_traverse__ returned a callable that does the dirty work,<br>the problem should be resolved. Compare this to Five views, for
<br>example. They are objects with a __call__ method. They are constructed<br>at traversal time (__init__ is called), and then called (__call__ is<br>executed).<br><br>--<br>Martijn Pieters<br></blockquote></div><br><br clear="all">
<br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>