#1044: paginate fails with compound widget and validation
----------------------------+-----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
When a form has a compound widget, uses paginate and validation, paginate
fails when trying to navigate to pages other than page 1. The error is a
FormEncode error that looks like this:
File "/usr/lib/python2.4/site-
packages/FormEncode-0.5.1-py2.4.egg/formencode/schema.py", line 116, in
_to_python
for name, value in value_dict.items():
AttributeError: 'unicode' object has no attribute 'items'
Removing validation lets paginate work, but that's not a good solution.
I'm attaching a simple quickstarted application that demonstrates the
problem.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1044>
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
-~----------~----~----~----~------~----~------~--~---