z3cform Inline validation failures on schema.Bool, possibly others

Sean Upton <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CANjV-2MBWAsPTHi6zDf1R4jMAE4-DGRTjOsSDUP0yza4eJZiJg@mail.gmail.com>
plone.app.z3cform.inline_validation.InlineValidationView chokes with
BadRequest on any widget that does not define a data-fieldname
attribute in the DOM, which breaks on schema.Bool, and possibly other
field/widget types.

See:  https://dev.plone.org/ticket/13741

Any objections to my proposed solution of making validation (in both
JS in Products.CMFPlone and the view in plone.app.z3cform) ignore the
case of no fieldname as a non-error condition?

Also, it seems reasonable for inline validation to ignore blur events
on checkboxes, no?

Sean

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.