[ZCM] [ZC] 1723/ 4 Reject "Empts src-attribute in img tag causes
Zope to render a ZPT twice"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Thu Mar 10 11:38:57 EST 2005
Issue #1723 Update (Reject) "Empts src-attribute in img tag causes Zope to render a ZPT twice"
Status Rejected, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1723
==============================================================
= Reject - Entry #4 by ajung on Mar 10, 2005 11:38 am
Status: Pending => Rejected
________________________________________
= Comment - Entry #3 by tseaver on Mar 10, 2005 11:20 am
I'm guessing that the user is OP is doing something else in the
template which triggers a ConflictError, and therefore a
retry.
I can't reproduce it either.
________________________________________
= Comment - Entry #2 by ajung on Mar 10, 2005 7:38 am
Can not be reproduced
________________________________________
= Request - Entry #1 by wmkraus on Mar 10, 2005 7:25 am
The following line in a ZPT will cause Zope to render the Template twice:
<img src="">
You can test it with this line,using the external method printIt:
<img tal:define="foo python:here.printIt('FOO')" src="">
External Method:
import zLOG
def printIt(text):
'''Print LOG-Informations from inside Zope'''
zLOG.LOG("==>", zLOG.INFO, text)
When the ZPT is returned from a Python script, this Script is called twice, too.
==============================================================
More information about the Zope-Collector-Monitor
mailing list