Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1256 (closed defect: invalid)

Opened 12 years ago

Last modified 12 years ago

Validation failures on nested forms w/chained validators

Reported by: kskuhlman Owned by: alberto
Priority: normal Milestone: 1.0.2
Component: unassigned Version: 1.0
Severity: normal Keywords:


Chained validators don't work with form widgets when the dependent field is a fieldset instead of a single field. For example, it's not possible to validate a form that has a "ship to billing address?" checkbox which determines if the shipping address must be filled in.

A version of the test_new_validation.py test is attached with examples of 3 failing tests.


test_new_validation.py Download (6.8 KB) - added by kskuhlman 12 years ago.
Enhancement of test_new_validation.py with 3 new tests (all fail)
test_new_validation.2.py Download (5.8 KB) - added by alberto 12 years ago.

Change History

Changed 12 years ago by kskuhlman

Enhancement of test_new_validation.py with 3 new tests (all fail)

comment:1 Changed 12 years ago by alberto

  • Owner changed from anonymous to alberto
  • Status changed from new to assigned

Please submit patches instead of modified files so it's easier to see what you have changed. I'll diff it myself for now...

Thanks, Alberto

Changed 12 years ago by alberto

comment:2 Changed 12 years ago by alberto

  • Status changed from assigned to closed
  • Resolution set to invalid

I don't think this problem is related to the widgets system. I've rewritten your tests (attach) to test the validators in isolation and tests fail as well.

Please reopen if I've missed anything.


Note: See TracTickets for help on using tickets.