#824: Number validator not working
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by godoy):
The Number validator was officially changed in 0.9a5, indeed. Before you
got exactly the same version as in formencode.validators.Number.
I haven't seen this bug in my tests -- I changed the validator to allow
I18Nization of numbers, since we're worried with a global community...
The error, though, seems to come from parse_decimal, code that already
existed before in TG.
From the logic viewpoint -- I haven't gone into the code yet -- what
should get to this point is a string / unicode object.
Is the above the only validator you have in place?
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/824>
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
-~----------~----~----~----~------~----~------~--~---