I have a Zope 2.8.8 for which I've developed a product that creates an
object called Collection that is defined like this::
class Collection(BTreeFolder2, CatalogAware):
implements(ICollection)
meta_type = COLLECTION_METATYPE
def __init__(self, id, **other_stuff):
apply(
Peter Bengtsson wrote at 2006-12-4 11:52 +:
> ...
>If I try to do it in code like this::
>
> def _uploadPhoto(self, file):
> adder = self.manage_addProduct['Photo'].manage_addPhoto
> adder('photo', '', file, **photo_settings)
>
>Then I get this error::
>
> ...
> File "/home/peterb
Dieter Maurer wrote:
Peter Bengtsson wrote at 2006-12-4 11:52 +:
...
File "/home/peterbe/zope/zope288/Products/Mest/ProductPhotoBase.py",
line 130, in _addProductPhoto
photo_adder = self.manage_addProduct['Photo'].manage_addPhoto
File
"/home/peterbe/zope/zope288/lib/python/App/F