Submitted by : simon at: 2003-10-26T21:31:39+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Summary: Zope 2.6.0 contains a structured text change that breaks mixed stx/DTML pages (ZopeIssue:432). The fix has been requested for inclusion in Zope, meanwhile a workaround has been added to zwiki 0.13.

You'll see this with a new wiki, or when you edit an existing page containing DTML like UserOptions?, ZwikiIssueTracker, FrontPage.

..perhaps it's a change in structured text's behaviour.


SimonMichael, 2002/09/26 17:27 GMT (via web):
Yes, it's this change made for ZopeIssue:432 . Single quote has higher precedence than SGML so DTML python expressions containing ' are broken.

Workaround: at SOFTWARE_HOME/lib/python/StructuredText/DocumentClass.py line 297, move the doc_literal below the doc_sgml and restart zope.

This is probably what zope 2.6 should do, followup needed.


SimonMichael, 2002/10/02 23:01 GMT (via web):
Andreas has accepted the issue. Urls for monitoring: cvs log , annotated head (search for doc_literal around line 297)


SimonMichael, 2002/10/24 04:40 GMT (via web):
Unfortunately this appears not to be fixed in zope 2.6 final.


SimonMichael, 2002/11/01 23:49 GMT (via web):
I have requested it for 2.6.1 on zope-dev.

SimonMichael, 2002/11/26 05:40 GMT (via web):
One month on.. I still hope this will be fixed in zope, but in the meantime I have figured out how to work around it - we already customize DocumentClass? so it's pretty easy to add this tweak. If zope decides it's version is better (single quotes taking precedence over sgml tags) then we'll be ok, it will be another slight difference between standard stx and zwiki stx. Better if zope goes back towards the way things were, then zwiki will have less cruft to cause problems down the road.

... --2003/06/04 23:37 GMT
What is the workaround for this problem if you're on a Zope shared hosting service? How, specifically, do you modify ZWiki so it will properly display the RecentChanges? page?

... --Wikizen, 2003/06/05 16:41 GMT
get them to upgrade.. 2.6.0 was just broken and there's no reason for anyone to use it.


comments:

... -- 2003/07/09 02:41 GMT reply
This isn't fixed in 2.6.1, btw, but I also tripped over the singlequote happiness elsewhere so at least I have confirmation of that issue. ZWiki 0.20.0 doesn't have the workaround mentioned in the summary, apparently.

... --SimonMichael, 2003/07/13 03:45 GMT reply
It does actually. Perhaps you're seeing http://zwiki.org/IssueNo0546020FailsToAutoUpgradeCertainPageTypesDisplaysPlainText ?

code for stx -- Sat, 03 Jan 2004 10:42:43 -0800 reply

... --betabug, Thu, 22 Feb 2007 16:23:35 +0000 reply
Severity: funded => normal