Can't directly call an image from an acquired dtml document ??
This behavior so startled me that I installed a fresh copy of 2.1.4 and verified that it doesn't work in a clean installation. On my system, I have: / root folder | |-- icon.gif (Image) | |-- display (DTML Document) | |-- abc (Folder) Where "display" is simply: <dtml-var standard_html_header> <dtml-var logo.gif> <dtml-var standard_html_footer> Now, http://mysystem.com/display works fine, displaying the logo, while http://mysystem.com/abc/display gives an AttributeError for __call__: Traceback (innermost last): File D:\Zope\David\lib\python\ZPublisher\Publish.py, line 214, in publish_module File D:\Zope\David\lib\python\ZPublisher\Publish.py, line 179, in publish File D:\Zope\David\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File D:\Zope\David\lib\python\ZPublisher\Publish.py, line 165, in publish File D:\Zope\David\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: display) File D:\Zope\David\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: display) File D:\Zope\David\lib\python\OFS\DTMLDocument.py, line 166, in __call__ (Object: display) File D:\Zope\David\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: display) AttributeError: (see above) Should I report this in the collector? Or is this not supposed to work? Thanks, Andrew
participants (1)
-
Andrew Wilcox