I've recently upgraded my Zope version from 2.7.6 to 2.9.8. I've
recently discovered that older File objects are generating an
AttributeError: alt whenever I call manage_changeProperties() on those
File object instances. I'm aware of the change to
lib/python/OFS/Image.py that removed the alt class attr from the File
class. I thought my File objects would have automatically updated too
but, apparently not. I just tried doing the following:

        objs = context.ZopeFind(context.this(), obj_metatypes=['File'],

        for k,v in objs:
          if hasattr('alt',v):

The above code didn't seem to do anything to fix the issue. Any
suggestions would be greatly appreciated.


Tom Palermo

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to