[Archetypes-users] Error in MultiSelectionWidget (kssValidationField)

5 views
Skip to first unread message

Paolo Tramontani

unread,
Jan 24, 2012, 8:54:21 AM1/24/12
to Plone - Archetype - mailing list

Hi all,

 

In my archetype content object I have a MultiSelectionWidget field with check boxes

Selecting or deselecting I got this error:

 

ERROR Zope.SiteErrorLog 1327400166.910.530848180741 http://…/portal_factory/Estimate Request/estimate_request.2012-01-24.1593198955/kssValidateField

Traceback (innermost last):

Module ZPublisher.Publish, line 126, in publish

Module ZPublisher.mapply, line 77, in mapply

Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall

Module ZPublisher.Publish, line 47, in call_object

Module Products.CMFPlone.FactoryTool, line 446, in __call__

Module ZPublisher.mapply, line 72, in mapply

Module ZPublisher.Publish, line 52, in missing_name

Module ZPublisher.HTTPResponse, line 705, in badRequestError

BadRequest: <h2>Site Error</h2>

 

Note kssValidateField!

 

Searching the web I found this::

http://plone.org/products/archgenxml/issues/211

 

What about this error?

 

Somone can help me?

 

Thanks,

 

Paolo

 

 

 

_______________________________________

 

Ing. Paolo Tramontani - Softone s.r.l.
email: ptram...@racine.ra.it
          ptram...@softone.it
phone: +39 338 9253741
______________________________________

 

Gauthier Bastien

unread,
Jan 24, 2012, 9:59:56 AM1/24/12
to Paolo Tramontani, Plone - Archetype - mailing list
It seems taht it could come from PDBDebugMode. Do you use this addon,
and moreover, did you start your instance in foreground if so?

Gauthier Bastien
www.communesplone.org

Paolo Tramontani a écrit :

> email: ptram...@racine.ra.it <mailto:ptram...@racine.ra.it>
> ptram...@softone.it <mailto:ptram...@softone.it>


> phone: +39 338 9253741
> ______________________________________
>

> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> ------------------------------------------------------------------------
>
> _______________________________________________
> Archetypes-users mailing list
> Archetyp...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/archetypes-users
>


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Archetypes-users mailing list
Archetyp...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users

Paolo Tramontani

unread,
Jan 24, 2012, 11:39:50 AM1/24/12
to Gauthier Bastien, Plone - Archetype - mailing list
I'm using version 4.04 of Plone

I think that something goes wrong in kss call for kssValidateField:

When I Click on check boxes a call to kssValidateField starts (via Ajax I
suppose, due to kss declarations).
I tried to debug this call and all goes well for a while...
Self.request contains 'fieldname' and 'value' parameters and this is ok.

Sometimes clicking on check boxes for the third of fourth time the
http://.../kssValidateField call fails.
I supposed that some parameter have not been correctly filled (fieldname or
value). But I can't find the function on the browser that starts the ajax
call...


_______________________________________

Ing. Paolo Tramontani - Softone s.r.l.
email: ptram...@racine.ra.it

ptram...@softone.it
phone: +39 338 9253741
______________________________________


-----Messaggio originale-----
Da: Gauthier Bastien [mailto:g.ba...@imio.be]
Inviato: martedì 24 gennaio 2012 16:53
A: Paolo Tramontani
Oggetto: Re: R: [Archetypes-users] Error in MultiSelectionWidget
(kssValidationField)

What version of Plone do you use?

It seems that upgrading to newer versions (last ov 3.3.x) should correct
the problem.

We use agx with Plone 3.3.x for many projects and we do not have these
errors...

Gauthier

Paolo Tramontani a écrit :
> Yes, I started my instance in foreground


>
>
> _______________________________________
>
> Ing. Paolo Tramontani - Softone s.r.l.
> email: ptram...@racine.ra.it

> ptram...@softone.it
> phone: +39 338 9253741
> ______________________________________
>
>

> -----Messaggio originale-----
> Da: Gauthier Bastien [mailto:g.ba...@imio.be]
> Inviato: martedì 24 gennaio 2012 16:00
> A: Paolo Tramontani
> Cc: Plone - Archetype - mailing list
> Oggetto: Re: [Archetypes-users] Error in MultiSelectionWidget
> (kssValidationField)

Gauthier Bastien

unread,
Jan 24, 2012, 12:41:06 PM1/24/12
to Paolo Tramontani, Plone - Archetype - mailing list
Is it possible for you to jump to the last 4.0.x (4.0.9) or even better
to 4.1.3?

Going to 4.0.9 should be transparent but going to 4.1.3 is a bit of work
as some essential addons (archetypes.referencebrowserwidget) did evolve...

Is it possible to try for you?

Reply all
Reply to author
Forward
0 new messages