[Zope] Zope 2.7.2 breaks Plone 2.0.3 login_form

Peter Mayne PeterMayne at ap.spherion.com
Thu Jul 22 19:47:25 EDT 2004


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?

PJDM
-- 
Peter Mayne
Spherion Technology Solutions
Canberra, ACT, Australia
"You're given the form, but you have to write the sonnet yourself.
What you say is completely up to you." - Mrs. Whatsit



More information about the Zope mailing list