[Zope] Trying to use CookieCrumbler 1.1 with Zope 2.7.0 and having trouble with logging out

Ken Causey ken at kencausey.com
Fri Mar 19 17:24:13 EST 2004


I'm trying to use CookieCrumbler 1.1 with Zope 2.7.0 and am having
trouble with logging out.  I previously used CookieCrumbler 0.5 with
Zope 2.6.1 with the my current objects and everything worked fine. 
Basically I'm getting the error:

Traceback (innermost last):
  Module ZPublisher.Publish, line 100, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Shared.DC.Scripts.Bindings, line 306, in __call__
  Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 318, in _exec
  Module None, line 7, in logout
   - <PythonScript at /logout>
   - Line 7
  Module Products.CookieCrumbler.CookieCrumbler, line 326, in logout
AttributeError: logoutabsolute_url

Clearly the error is a little odd but the value of my CookieCrumbler
instance's 'Logout page ID' property is 'logout' which is the ID of a
'Script (Python)'.  My guess is that Python Methods are no longer
implementing absolute_url().  Has the implementation of Python Methods
changed significantly since 2.6.1?

Thanks,

Ken Causey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope/attachments/20040319/b0aad337/attachment.bin


More information about the Zope mailing list