[ZCM] [ZC] 1752/ 1 Request "OFS.Image.tag acquires "alt" attribute"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Apr 12 07:41:47 EDT 2005


Issue #1752 Update (Request) "OFS.Image.tag acquires "alt" attribute"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1752

==============================================================
= Request - Entry #1 by longsleep on Apr 12, 2005 7:41 am

When the OFS.Image.tag method is called without the "alt" parameter then an object with id "alt" is acquired through the acquisition chain with "getattr(image, 'alt', '')". Thats leads to big problems when the image object itself does not have this attribute. From my point of view this getattr call should happen on aq_base(image) to prevent acquireing folders or other objects. Same problem with the "title" parameter as well.
==============================================================



More information about the Zope-Collector-Monitor mailing list