[Zope] manage_upload not found?
Phil Harris
phil.harris@zope.co.uk
Mon, 14 Aug 2000 12:58:26 +0100
Sean,
I *think* you have to call manage_upload of the object itself.
So if you have a DMTLMethod called doc then it would have to be:
doc.manage_upload([file,REQUEST])
hth
Phil
phil.harris@zope.co.uk
----- Original Message -----
From: "Sean McGrath" <sean@digitome.com>
To: <zope@zope.org>
Sent: Monday, August 14, 2000 12:13 PM
Subject: [Zope] manage_upload not found?
> I can call manage_addFile to add a new file to the ZODB.
> If I try and add a file with the same id as an
> existing object, I get an error from manage_addFile. Fair enough.
> I looked at the source of the management interface and
> say manage_upload used to change the contents of
> an existing object. However, when I try and use
> this Zope is saying it cannot find it.
>
> Any ideas?
>
> regards,
>
> http://www.pyxie.org - an Open Source XML Processing library for Python
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )