As per https://github.com/web2py/web2py/issues/754 the issue seems to be fixed.
I'm no longer actively using web2py at the moment, so I can not comment on whether it is indeed fixed. You may wish to continue the discussion on the above github issue. But please provide the web2py version you are using, and possibly sample code. -Mandar On Wed, Jan 31, 2018 at 6:19 AM, Yi Liu <[email protected]> wrote: > This is still not fixed as of 01/30/2018 > > On Tuesday, January 22, 2013 at 1:38:29 AM UTC-8, Mandar Vaze wrote: >> >> Just to revive the discussion, if SQLTABLE is passed a headers dict AND >> truncate value, then truncate isn't honored. >> >> e.g >> >> mytable = SQLTABLE(somequery, >> headers={'table.field1': 'Label1', 'table.field2': >> 'Label2'} >> truncate=25) >> >> >> >> On Wednesday, July 20, 2011 5:45:21 AM UTC+5:30, Anthony wrote: >>> >>> On Tuesday, July 19, 2011 7:48:35 PM UTC-4, Carlos wrote: >>>> >>>> So 'truncate' is not being respected when using the previous 'headers' >>>> format (simple dict of strings). >>>> >>> >>> Oh, I see, you're right -- that should be fixed. >>> >>> Anthony >>> >> >> This continues to be broken after 12+ months. May be not enough people >> are using SQLTABLE + truncate combination >> >> Any plans to fix this ? >> >> -Mandar >> >> >> >> >>> >>> >> -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/web2py/o5XLpVLnHpA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

