[tw.dynforms] #26: GrowingTableFieldSet validation troubles

1 view
Skip to first unread message

Trac from toscawidgets.org

unread,
Mar 19, 2009, 1:55:59 AM3/19/09
to toscawidge...@groups.google.com
#26: GrowingTableFieldSet validation troubles
--------------------+-------------------------------------------------------
Reporter: jtate | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: docs | Version:
Keywords: |
--------------------+-------------------------------------------------------
This is related to
http://toscawidgets.org/trac/tw.dynforms/changeset/192%3A23c572b6b4a7 .

If a form employs the GrowingTableFieldSet, it can successfully create
data (if constructed in one specific way), but the GrowingTableFieldSet
fields cannot be validated via standard validation methods.

Also, if a validator is passed as an instance to the CustomizedMixin,
post_init will raise a type error.

Attached is a patch that
1. Adds checks to ensure that the validator is initialized correctly
2. Starts to add tests for validating more complicated form structures.

In creating the patches I still have questions that are unanswered.
Please review and provide guidance.

--
Ticket URL: <http://toscawidgets.org/trac/tw.dynforms/ticket/26>
tw.dynforms </trac/tw.dynforms>
tw.dynforms

Trac from toscawidgets.org

unread,
Jun 30, 2009, 11:05:38 PM6/30/09
to toscawidge...@groups.google.com
#26: GrowingTableFieldSet validation troubles
--------------------+-------------------------------------------------------
Reporter: jtate | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: docs | Version:
Keywords: |
--------------------+-------------------------------------------------------

Comment(by paj):

Validation is much better in tw2.dynforms; I believe it should now do what
you need. Feedback welcome

--
Ticket URL: <http://toscawidgets.org/trac/tw.dynforms/ticket/26#comment:1>
tw.dynforms </trac/tw.dynforms>
tw.dynforms

Trac from toscawidgets.org

unread,
Jul 28, 2009, 10:44:31 AM7/28/09
to toscawidge...@groups.google.com
#26: GrowingTableFieldSet validation troubles
--------------------+-------------------------------------------------------
Reporter: jtate | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: docs | Version:
Keywords: |
--------------------+-------------------------------------------------------

Comment(by jtate):

I've been using this patch in production for 3 months. Please apply.

--
Ticket URL: <http://toscawidgets.org/trac/tw.dynforms/ticket/26#comment:2>
tw.dynforms </trac/tw.dynforms>
tw.dynforms

Reply all
Reply to author
Forward
0 new messages