#1042: Initial invalid form data adjust_value bug
-------------------------+--------------------------------------------------
Reporter: Andy Kilner | Owner: anonymous
Type: task | Status: new
Priority: normal | Milestone:
Component: Widgets | Version: 0.9a6
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
When rendering/displaying a form such as a TableForm, an invalid value for
one of the fields will cause the value for all other fields in that form
to be set to the string representation of the value dict.
The problem appears to be here:
http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/widgets/forms.py?rev=1685#L221
An exception is raised for the invalid value but it is caught and passes
away silently by casting the value to a str, which is probably correct
behaviour for a non-compound widget but makes no sense for forms where the
value is a dictionary of values.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1042>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---