On Thursday 19 May 2005 13:45, Florian Lindner wrote:
>   File "/home/florian/Zope3/src/zope/tales/tales.py", line 698, in evaluate
>     return expression(self)
>   File "/home/florian/Zope3/src/zope/tales/expressions.py", line 204, in
> __call__
>     return self._eval(econtext)
>   File "/home/florian/Zope3/src/zope/tales/expressions.py", line 198, in
> _eval return ob()
>   File
> "/home/florian/Zope3/src/zope/app/dublincore/browser/metadataedit.py", line
> 37, in edit
>     dc.title = unicode(request['dctitle'])
> ForbiddenAttribute: ('title',
> <zope.app.dublincore.annotatableadapter.ZDCPartialAnnotatableAdapter object
> at 0xb2a5a12c>)
> 127.0.0.1 - zope.manager [19/May/2005:19:38:34 +0200]
> "POST /cs/home/zope.manager/testfolder/Link/@@EditMetaData.html HTTP/1.1"
> 500 316
> "http://localhost:8080/cs/home/zope.manager/testfolder/Link/@@EditMetaData.
>html" "Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.0 (like
> Gecko)"

This is because the ZDCPartialAnnotatableAdapter has not the correct security 
settings.

A totally different solution is provided by the Wiki and Bugtracker, that uses 
properties to implement the title on the object and the data is simply stored 
in the annotations.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to