The relevant code that generates the issue is:


    rischi_della_mansione = "GROUP_CONCAT(rischio, ', ')"


    l = [db.RISCHI_MANSIONE.on(
            (db.RISCHI_MANSIONE.mansione_ID==db.MANSIONE.id)),
         db.RISCHI.on(
            (db.RISCHI.id==db.RISCHI_MANSIONE.rischio_ID))
        ]


    mansioni = db((db.MANSIONE.id>0)).select(db.MANSIONE.mansione,
                                             rischi_della_mansione,
                                             left=l,
                                             groupby=db.MANSIONE.id
                                            )


    fattori_rischio = SQLTABLE(mansioni,
                               truncate=None,
                               _id="rischi",
                               headers={'MANSIONE.mansione':'MANSIONE',
                                        rischi_della_mansione:'FATTORI DI 
RISCHIO'
                                        },
                                        columns=['MANSIONE.mansione',
                                                 rischi_della_mansione
                                        ]
                                )

The traceback screenshot is:

<https://lh3.googleusercontent.com/-WMtRONVueqU/WqmeVm7gToI/AAAAAAAABBs/sAGtbWmUkYw5q71s8Q8rjZJH5VE9EY7EQCLcBGAs/s1600/Screenshot.png>



Please note that the code is working well on web2py Version 
2.14.6-stable+timestamp.2016.05.10.00.21.47

Has anybody found the same issue and solved it?

Thank you.





-- 
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.

Reply via email to