I suggest that "truncate" get addes to the signature of crud.select at least, I wasn't so sure that it could fix this issue before trying it...
Richard On Thu, Jan 7, 2016 at 11:41 AM, Richard Vézina <ml.richard.vez...@gmail.com > wrote: > It was not working like that in 2.9.5 actually which is not that old ( > https://github.com/web2py/web2py/releases/tag/R-2.9.5) march 2014, it > starts to date I agree though... > > Richard > > On Thu, Jan 7, 2016 at 11:31 AM, Anthony <abasta...@gmail.com> wrote: > >> On Thursday, January 7, 2016 at 10:59:45 AM UTC-5, Richard wrote: >>> >>> Hello, >>> >>> It seems that someone as activate a undocumented truncate function over >>> CRUD and it by default to True or something... This cause an issue in my >>> app... It's not a big deal, I just add : truncate=None attribute with >>> crud.select() and it get away... But I guess it should be the default. And >>> it seems not documented in the book as mention and it should be. >>> >> >> crud.select() generates a SQLTABLE, which by default truncates string and >> text fields to 16 characters (which is documented). It has been that way >> for years. It appears the book does not make it clear that the **attr >> arguments passed to crud.select() ultimately get passed on to SQLTABLE. >> >> Anthony >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.