[Zope] Zope 2.7.2 and ExternalFile

Jadran Prodan jadran.prodan at mtt-solutions.si
Tue Nov 2 10:41:56 EST 2004


Hi,

I upgraded Zope 2.5.1 to 2.7.2 and i have a problem with ExternalFile.

The script which worked before:

...
documents.manage_addProduct['ExternalFile'].manage_add(efid, '', '', 
target_filepath)
...

Now produce error:
...
Traceback (innermost last):

Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 323, in _exec
Module None, line 14, in addDocument
<PythonScript at /todolist/scripts/addDocument>
Line 14
AttributeError: manage_add
...

Any tip? Thank you.

LP, Jadran



More information about the Zope mailing list