Am Donnerstag, 19. Mai 2005 19:07 schrieb Stephan Richter: > On Thursday 19 May 2005 13:02, Florian Lindner wrote: > > Â Â <adapter > > Â Â Â Â for=".link.Link" > > Â Â Â Â provides="zope.app.dublincore.interfaces.IZopeDublinCore" > > Â Â Â Â factory=".link.factory" > > Â Â Â Â /> > > You need to make this a trusted adapter and provide a permission for > accessing it, i.e. add ``trusted="True"`` and ``permission="zope.public"``
Ok. thanks a lot! It works, however I get another, not so grave error. I add the object. I can edit the schema description field and the DC description fields changes as well. But when I hit the "Save changes" (Ãnderungen spreichern) or "Refresh" (Auffrischen) buttons in the meta data pane, regardless whether I changed something or not I get a system error with this backtrace: 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)" I have not touched the title field (it is empty) neither do I have created a mapping for it. Only the description field is mapped. Regards, Florian _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com