[web2py] SQLFORM.grid: CSV Export leads to empty file when using joined fields in query

2013-12-03 Thread Friedrich Weber
Hi there, First: I already tried to post this last week, but it doesn't seem like it worked. Apologies if this is a duplicate! I stumbled upon a bit obscure behaviour using SQLFORM.grid, left joins and CSV exports using 2.8.1-stable+timestamp.2013.11.27.20.07.10. It seems to be closely related

[web2py] Empty CSV export file using SQLFORM.grid and left joins

2013-11-29 Thread Friedrich Weber
Hi there, I stumbled upon a bit obscure behaviour using SQLFORM.grid, left joins and CSV exports using 2.8.1-stable+timestamp.2013.11.27.20.07.10. I made a simple test application which illustrates the problem here: https://bitbucket.org/fredreichbier/web2py-testexport (installable via

[web2py] Re: Formatter and values=None problem

2012-10-29 Thread Friedrich Weber
Hi there! For me, this change breaks optional `date` fields. Until now, I had a field like this: Field('somefield', type='date', label=T('...')), The value could be NULL, in which case `None` was displayed in a `SQLFORM.grid`. Now, this code crashes with: AttributeError: 'NoneT

[web2py] Redirectafter submission of change password form even in case of error

2012-10-24 Thread Friedrich Weber
Hi there! I'm using the `/default/user/change_password` controller from `gluon.tools.Auth`. I've noticed that the submission of the change password form always triggers a redirect, even if the entered old password wasn't correct and the password wasn't changed because of that. Looking into the