My favorites | Sign in
Project Logo
          
New issue | Search
for
| Advanced search | Search tips
Issue 27: KSS inline validation is broken on the add form
  Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2009
Type-Defect
Priority-High
BetaBlocker


Sign in to add a comment
 
Reported by optilude, Feb 08, 2009
We get component lookup errors when tabbing between fields on the add form.
Comment 1 by optilude, Feb 09, 2009
(No comment was entered for this change.)
Owner: ---
Comment 2 by optilude, Feb 09, 2009
This is related to the following line in plone.app.z3cform.kss.validation:

    formWrapper = getMultiAdapter((context, request), name=formname)

formname is a KSS parameter, set via a kssattr to be view.__name__. view.__name__ is the name of the factory, 
because the (backported) AddViewTraverser does add_view.__name__ = ti.factory.

For this to work, we may need special handling in plone.app.z3cform, since the actual form can't be looked 
up using getMultiAdapter((context, request), name=foo) even with the right name.
Comment 3 by optilude, May 02, 2009
Fixed in plone.app.z3cform r26704
Status: Fixed
Labels: -Component-plone.autoform
Sign in to add a comment

Hosted by Google Code