#85 — intelligenttext fails on migration
by
Jodok Batlogg
—
last modified
Jan 05, 2009 09:33 AM
| State | Resolved |
|---|---|
| Version: | |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Jodok Batlogg |
| Submitted on | Apr 27, 2006 |
| Responsible | Maurits van Rees |
| Target release: |
—
|
we just upgraded our poi to trunk and intelligenttext failed on migration
text of quite some issues was None, not '' - no idea why.
the following patch helped.
Index: transforms/html_to_web_intelligent_plain_text.py
===================================================================
--- transforms/html_to_web_intelligent_plain_text.py (revision 22719)
+++ transforms/html_to_web_intelligent_plain_text.py (working copy)
@@ -51,6 +51,8 @@
marker = '__pre_marker__%d__' % (len(preSections),)
preSections[marker] = match.group(1)
return marker
+ if text is None:
+ text = ''
text = self.preRegex.sub(savePres, text)
# Make whitespace-tag-whitespace into whitespace-tag. Repeat this
Added by
Maurits van Rees
on
Nov 14, 2007 09:02 PM
Patch applied to Products.intelligenttext in r53856. Thanks Jodok!
Issue state:
unconfirmed
→
resolved
Responsible manager:
(UNASSIGNED)
→
maurits
No responses can be added.
If you can, please log in before submitting a reaction.
