Problem creating a dexterity Link object

Luca Bellenghi <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAOc=T0SrgZFfq88+MkCRQ=YB+pAxon42kUKrS6pLKQy5o0DaYw@mail.gmail.com>
Hi all.
I'm trying to create a new dexterity Link object using plone.api methods.

few days ago all works fine and I'm not able to understand what we have
changed, but right now i get this error:

http://pastebin.com/MhU4Zrfb

Caller code it's something like:

        if missing:
            link = api.content.create(folder_obj, 'Link',
title=self.context.Title())
            if self.context.portal_type in self.use_view_action():
                to_link = to_link + '/view'
            link.remoteUrl = to_link
            link.reindexObject()

someone has some hint to debug this problem ?

Thanks
   Luca

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.