What the f... with bobobase_modification_time in a method of a ZClass ?
Hi, I want to display the date of an object built from a ZClass from a DTML method with <dtml-var bobobase_modification_time> but I got the authentification box when running this method. OK, I give my usual Manager user/password... I got an "Unauthorized: bobobase_modification_time". OK, I put a Manager proxy to this method... Always the same ! When I can view any other property as anonymous ! Note : <dtml-var bobobase_modification_time> works without any permission in any usual DTML object !!! Someone understands ? TIA --Gilles
Gilles Lenfant writes:
I want to display the date of an object built from a ZClass from a DTML method with <dtml-var bobobase_modification_time> but I got the authentification box when running this method. Hm....
Works for me (ZopeCVS (2.4+)). Dieter
This may have something to do with a bug that Evan fixed lately that only applies to attributes of the Zope root object. Can you place an instance of the same class in a subfolder and see bobobase_modification_time? Gilles Lenfant wrote:
Hi,
I want to display the date of an object built from a ZClass from a DTML method with <dtml-var bobobase_modification_time> but I got the authentification box when running this method.
OK, I give my usual Manager user/password... I got an "Unauthorized: bobobase_modification_time".
OK, I put a Manager proxy to this method... Always the same ! When I can view any other property as anonymous !
Note : <dtml-var bobobase_modification_time> works without any permission in any usual DTML object !!!
Someone understands ?
TIA
--Gilles
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
participants (3)
-
Chris McDonough -
Dieter Maurer -
Gilles Lenfant