Please open a ticket about this.

On Wednesday, 12 June 2013 14:56:45 UTC-5, Jim S wrote:
>
> My smartgrids are all failing when I have fields from multiple tables 
> specified in the 'fields' argument.
>
> Here is a sample traceback:
>
> Traceback (most recent call last):
>  File "C:\dev\web2py\gluon\restricted.py", line 212, in restricted
>  exec ccode in environment
>  File "C:/dev/web2py/applications/infocenter/controllers/administration.py" 
> <http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/administration.py>,
>  line 2360, in <module>
>  File "C:\dev\web2py\gluon\globals.py", line 194, in <lambda>
>  self._caller = lambda f: f()
>  File "C:\dev\web2py\gluon\tools.py", line 3022, in f
>  return action(*a, **b)
>  File "C:/dev/web2py/applications/infocenter/controllers/administration.py" 
> <http://127.0.0.1:8000/admin/default/edit/infocenter/controllers/administration.py>,
>  line 702, in permissions
>  paginate=15, maxtextlength=45)
>  File "C:\dev\web2py\gluon\sqlhtml.py", line 2679, in smartgrid
>  user_signature=user_signature, **kwargs)
>  File "C:\dev\web2py\gluon\sqlhtml.py", line 2377, in grid
>  value = row[str(field)]
>  File "C:\dev\web2py\gluon\dal.py", line 6865, in __getitem__
>  return ogetattr(self, key)
> AttributeError: 'Row' object has no attribute 'description'
>
>
> Description is a field on a referenced table that is included in the 
> fields argument.  Worked until upgrade to 2.5.1.
>
> -Jim
>

-- 

--- 
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/groups/opt_out.


Reply via email to