[Zope-dev] Re: LoginManager, dtml-in prefix?

Itai Tavor itai@optusnet.com.au
Sat, 8 Sep 2001 21:08:08 +1000


Chris Withers wrote:

>  > really about. LoginManager is another problem - it's got problems
>>  with Zope 2.3.x, and I have no idea what it will do in 2.4.
>
>Steve also has a version of that which appears to work fine under 2.4 :-)

Yeah, I forgot about that one :). Steve's patch does make LM start up 
correctly in 2.4, and I guess it also means that at least Steve is 
using it successfully. I wasn't really thinking about the problem 
that Steve's version fixes, though. In 2.3, security checks for 
objects owned by a user that is defined in an LM user folder are 
broken, which caused me a lot of trouble. I'm just not looking 
forward to finding out what new problems LM got in 2.4. If anyone 
tells me there aren't any, I'd be very glad.

>  > And then
>>  here's the fact that to move my current projects to 2.4 I'll have to
>>  edit every single dtml-in loop in a hundred DTML Methods to change it
>>  to the new prefix format.
>
>Huh?! Never heard of that one, care to explain?

It's what used to be my biggest pet peeve. It comes from using 
sequence_xxx aliases in dtml-in loops (using a patched DT_In.py), 
which ZC refused to incorporate into Zope, instead implementing the 
prefix="..." feature. So all dtml-in loops, in all my projects, are 
going to break in 2.4.
-- 
--
Itai Tavor                      -- "Je sautille, donc je suis."    --
itai@optusnet.com.au            --               - Kermit the Frog --
--                                                                 --
-- "If you haven't got your health, you haven't got anything"      --