Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59575 - plone-2.0.3 login_form doesn't work with zope-2.7.2
Summary: plone-2.0.3 login_form doesn't work with zope-2.7.2
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-05 17:38 UTC by Scott Hadfield (RETIRED)
Modified: 2004-09-11 13:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Hadfield (RETIRED) gentoo-dev 2004-08-05 17:38:06 UTC
When you click on the 'log in' button to login to plone it will displays and error message.



Reproducible: Always
Steps to Reproduce:
1. emerge plone
2. attempt to login to plone using the 'log in' button (at the top right), not the quick login form on the left hand side of the page.
Actual Results:  
The following error message is displayed:

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>


Expected Results:  
It should have printed the login form.

I found this link describing the problem/solution:
http://www.dzug.org/mailinglisten/zope-org-zope/archive/2004/2004-07/1090545644726

Basically, a quick and dirty fix to the problem is to modify line #63 in
CMFPlone/skins/plone_forms/login_form.pt

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>'
Comment 1 Jodok Batlogg (RETIRED) gentoo-dev 2004-09-11 13:59:42 UTC
this is a known plone issue and has been fixed in plone-2.0.4 (which hopefully will hit portage quite soon)