[Zope] Problems with ZopeTime

Oliver Erlewein erlewein@gmx.net
Wed, 23 May 2001 15:05:56 +0200 (MEST)


Hi

I'm having Problems with ZopeTime. The only occurence of ZopeTime I use in
the problematic ZClass (Forumbeitrag_addForm) states:

<input type=hidden name="datum" value="<dtml-var ZopeTime fmt="%Y/%m/%d -
%H:%M:%S">">

When calling as Manager it works just fine. I get following traceback when
trying to call as a "user" with reduced rights:

  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File D:\Zope\PortalSQS05\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: RoleManager)
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File D:\ZOPE\PortalSQS05\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: index_html)
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: index_html)
  File D:\ZOPE\PortalSQS05\lib\python\App\Factory.py, line 178, in
index_html
    (Object: RoleManager)
  File D:\Zope\PortalSQS05\lib\python\OFS\DTMLMethod.py, line 189, in
__call__
    (Object: Forumbeitrag_addForm)
  File D:\ZOPE\PortalSQS05\lib\python\DocumentTemplate\DT_String.py, line
538, in __call__
    (Object: Forumbeitrag_addForm)
  File D:\ZOPE\PortalSQS05\lib\python\DocumentTemplate\DT_Var.py, line 276,
in render
    (Object: ZopeTime)
KeyError: (see above)

What's wrong? I can't find anything that would solve my problem. I havn't
even got a clue appart from the feeling that it has something to do with the
authorization.

I'm running on NT4 and Zope 2.3.2.

Thanx
Oliver

-- 
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net