[kupu-checkins] r48320 - in kupu/trunk/kupu: doc plone

duncan at codespeak.net duncan at codespeak.net
Mon Nov 5 17:09:13 CET 2007


Author: duncan
Date: Mon Nov  5 17:09:13 2007
New Revision: 48320

Modified:
   kupu/trunk/kupu/doc/CHANGES.txt
   kupu/trunk/kupu/plone/html2captioned.py
Log:
Fix plone issue #7305: subtarget referenced before defined

Modified: kupu/trunk/kupu/doc/CHANGES.txt
==============================================================================
--- kupu/trunk/kupu/doc/CHANGES.txt	(original)
+++ kupu/trunk/kupu/doc/CHANGES.txt	Mon Nov  5 17:09:13 2007
@@ -8,6 +8,7 @@
 
   - Plone tickets
 
+    * 7305 Page creation and kupu upload image returns an error if Kupu link uid's is turned on.
     * 7285 Kupu Accesskey for Save conflict with Firefox History Menu
     * 7099 Kupu error on multi-schemata archetypes content
     * 7258 Missing translation msgids for kupu

Modified: kupu/trunk/kupu/plone/html2captioned.py
==============================================================================
--- kupu/trunk/kupu/plone/html2captioned.py	(original)
+++ kupu/trunk/kupu/plone/html2captioned.py	Mon Nov  5 17:09:13 2007
@@ -125,6 +125,7 @@
                 tag = match.group(1) or match.group(2)
                 attrs = ATTR_PATTERN.match(tag)
                 src = attrs.group('src')
+                subtarget = None
                 m = SRC_TAIL.match(tag, attrs.end('src'))
                 if m:
                     srctail = m.group(1)


More information about the kupu-checkins mailing list