powered_by:
powered by linux powered by apache powered by php powered by mysql valid html valid css Valid RSS TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones
Add to Technorati Favorites bloggerei.de - deutsches Blogverzeichnis Digg! del.icio.us Save This Page
feedburner


24/09/2008: Upgading forms in Plone 3
As some of you might know, I have to work with Plone quite often.
Today I had to upgrade a Plone 3.0 instance to Plone 3.1 (3.1.5.1 actually). Not quite a big problem, push the new tarball in, run portal_migration and be ready... Not here, just after the upgrade, all our customized forms have stopped working (we had customized join_form and personalize_form heavily), the only error in event.log was:

...
Module plone.protect.utils, line 32, in _curried
Module plone.protect.authenticator, line 60, in check
Forbidden: Form authenticator is invalid.


Well, for all of you who will have the same problem (and for me to remember):
You have to add
<input tal:replace="structure context/@@authenticator/authenticator" />
just after
<input type="hidden" name="form.submitted" value="1" />
in your Page Template ;)

So long, and have fun with this great product :)

Tags:

None

Kommentare:
None

Kommentar hinzufuegen:
Name:

eMail:

Homepage:

Text:


Bitte hier nichts eintragen:

latest_blog:
Lieferdienste
Der Komputer Nr. 3
Pimp my Mutt
Web 4.0
CAPSLOCK DAY
random_pic:
konzerte/schandmaul-20041030 / IMG_5664.JPG
schandmaul-20041030 / IMG_5664.JPG
top_referer:
tuxmobil.org (1577)
tuxmobil.de (907)
maxwerner.de (523)
www.nabble.com (459)
www.google.de (216)