[Zope-PTK] Re: ZClass dtml add method

clamor@fafalter.de clamor@fafalter.de
Thu, 22 Feb 2001 16:53:01 +0100


>We recently went through adding ZClass based portal content and created
>a tutorial which was just released to the dogbowl.  This may help you.

>http://cmf.zope.org/Members/davew

That really helped a lot, thanks. 


The <dtml-call "reindexObject"> in the EditDone method produces an 
"Unauthorized" Error. Without that line the product works fine.

<P><STRONG>Unauthorized</STRONG></P>
 
  You are not authorized to access <em>reindexObject</em>.
<!--
Traceback (innermost last):
  File E:\fabeta\lib\python\ZPublisher\Publish.py, line 222, in 
publish_module
  File E:\fabeta\lib\python\ZPublisher\Publish.py, line 187, in publish
  File E:\fabeta\lib\python\ZPublisher\Publish.py, line 171, in publish
  File E:\fabeta\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: EditDone)
  File E:\fabeta\lib\python\ZPublisher\Publish.py, line 112, in 
call_object
    (Object: EditDone)
  File E:\fabeta\lib\python\OFS\DTMLMethod.py, line 189, in __call__
    (Object: EditDone)
  File E:\fabeta\lib\python\DocumentTemplate\DT_String.py, line 538, in 
__call__
    (Object: EditDone)
  File E:\fabeta\lib\python\DocumentTemplate\DT_Util.py, line 328, in eval
    (Object: reindexObject)
    (Info: reindexObject)
  File E:\fabeta\lib\python\OFS\DTMLMethod.py, line 261, in validate
    (Object: EditDone)
  File E:\fabeta\lib\python\AccessControl\SecurityManager.py, line 144, in 
validate
  File E:\fabeta\lib\python\AccessControl\ZopeSecurityPolicy.py, line 225, 
in validate
Unauthorized: (see above)

--> 

cheers
Bories

----
Bories v. dem Bussche
clamor@fafalter.de