[Zope] Zope 2.7.2 breaks Plone 2.0.3 login_form

Andreas Kaiser kaiser at xo7.de
Fri Jul 23 04:53:03 EDT 2004


Peter Mayne wrote:

> I've just installed Zope 2.7.2 and attempted to browse to my Plone 2.0.3 
> /manage form.
> 
> Instead of getting the expected page, I get:
> 
> Error Type
>     RuntimeError
> Error Message
>     FS Page Template login_form has errors: Compilation failed.
>     <pre>TAL.HTMLTALParser.NestingError: Open tags <html>, <body>, <div>,
> <script> do not match close tag </a>, at line 63, column 188</pre>
> 
> Looking inside ./CMFPlone/skins/plone_forms/login_form.pt, this relates 
> to the '<' of the '</a> tag:
> 
> <script type="text/javascript">
> // <![CDATA[
>    if (cookiesEnabled && !cookiesEnabled()) {
>       document.writeln('<div class="portalMessage"><img 
> src="info.gif">Cookies
> are not enabled. You can not log in if they are turned off. <a
> href="enabling_cookies">How to enable cookies</a>.</div>');
>    }
> // ]]>
> </script>
> 
> One workaround was to comment out this chunk of script. Another one was 
> to revert back to Zope 2.7.1. :-)
> 
> I have no idea if this is Zope tightening up and rejecting an incorrect 
> Plone template, or an introduced bug in Zope which is rejecting a 
> correct Plone template.
> 
> Has anyone else seen this, or is it a peculiarity of my site?

Yes, the very same error here. I think this is caused by the 
Hotfix_2004-07-13 which is included in 2.7.2 and fixes a security bug in 
Page Templates. I didn´t have the time to investigate thoroughly, so 
used the same workaraound like you.

Andreas


More information about the Zope mailing list