[Zope] Zope 2.5 and TransparentFolder incompatibility

Howard Hansen zope@halfmagic.com
Mon, 10 Jun 2002 13:22:34 -0700


Sorry, reposting because I screwed up the thread with my digest subject!

I'm running Zope 2.5.1 under Debian Woody and the latest version of
TransparentFolders that I could find on zope.org (0.3.2).

I just created a simple test case:

        /test/          << folder
            tf/         << transparent folder
                hidden  << dtml method
            index_html  << dtml document

index_html contains only "<dtml-var hidden>"

Using Zope 2.4.2 under Debian Woody, I see the text contained in hidden when
I view index_html.  Under Zope 2.5.1, I get the error...

Error Type: KeyError
Error Value: hidden

...with the following traceback...

Traceback (innermost last):
  File /usr/lib/zope/lib/python/Products/Hotfix_2002-04-15/__init__.py, line
51, in publish_module
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /usr/lib/zope/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
    (Object: t)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: index_html)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
    (Object: index_html)
  File /usr/lib/zope/lib/python/OFS/DTMLDocument.py, line 127, in __call__
    (Object: index_html)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in
__call__
    (Object: index_html)
KeyError: (see above)

...when I try to view index_html.

Any idea why?

Thanks!

Howard Hansen


----- Original Message -----
> Message: 20
> Date: Mon, 10 Jun 2002 09:06:16 +0200
> From: Christian Theune <ct@gocept.com>
> To: zope@zope.org
> Subject: Re: [Zope] Zope 2.5 and TransparentFolder incompatibility
> Organization: gocept gmbh & co. kg <mail@gocept.com>
>
> Hi.
>
> Do you have a more specific problem? I am using the latest
TransparentFolder product
> with Zope 2.5.0 as well as 2.5.1 without any problems (including Session
Tracking).
>
> * Howard Hansen <howardh@halfmagic.com> [020610 06:40]:
> > Google doesn't tell me anything definitive, but it seems that the
laudable
> > TransparentFolder product is incompatible with Zope 2.5.  Something
about a
> > conflict with session tracking?  Is this so?  Do I have to muck up my
> > management screens with hundreds of little files?  Does anyone have a
patch
> > or an alternative?
>
> Regards
>
> Christian
>
> --
> Christian Theune - ct@gocept.com
> gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
> tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981
>
> reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])

Indeed it does.