« Return to Thread: probable bug: schema controller validation does not convert to python

Re: probable bug: schema controller validation does not convert to python

by alex bodnaru-2 :: Rate this Message:

| View in Thread

hello diez

On 02/19/2012 01:25 PM, Diez B. Roggisch wrote:

>
> On Feb 19, 2012, at 12:10 PM, alex bodnaru wrote:
>
>>
>> hello friends,
>>
>> i've tried to validate a controller params using a schema.
>>
>> as the validators are for integers, a dict of fieldname,validator has converted
>> the controller params to python integers.
>>
>> conversely, the same validators did not convert the ints.
>>
>> is there anything special i should have observed?
>
>
> I don't understand what you mean with this. Please show the code you wrote, and the outcome or lack thereof.
>
> Diez
>
thanks for your consideration.

here must have been my own fault. maybe i haven't instantiated the schema
derived class in the validators.

i have tested again with more attention and it did not fault again.

best regards,
alex

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbogears@....
To unsubscribe from this group, send email to turbogears+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

 « Return to Thread: probable bug: schema controller validation does not convert to python