Hi Massimo, Error 1 described above still exists; even in trunk. Also, if the same specified-out-of-sequence table is selected in appadmin an error results:
File "E:\Dev\w2p\web2py_hg\gluon\sql.py", line 1537, in __allocate raise RuntimeError, " Using a recursive select but encountered a broken reference" RuntimeError: Using a recursive select but encountered a broken reference Thanks. On Nov 18, 2:45 pm, mdipierro <[email protected]> wrote: > My bad. I did not push the change. Please check again in trunk. > > On Nov 18, 6:20 am, Seeker <[email protected]> wrote: > > > > > Thanks Massimo, but I am up to date on trunk (change set 1223 > > mercurial), but both the problems still persist. > > > On Nov 18, 2:06 pm, mdipierro <[email protected]> wrote: > > > > fixed in trunk > > > > On Nov 18, 1:47 am, Seeker <[email protected]> wrote: > > > > > Hi guys, > > > > Please help: > > > > > Could someone please confirm whether the following two issues are > > > > indeed errors or if I am simply doing something wrong. They have both > > > > been around for a while now and I am surprised that they have not been > > > > noticed yet - which makes me think I may be causing the problem. > > > > > Background: > > > > =========== > > > > Using Windows 7 operating system > > > > Python 2.6 > > > > The errors appear in both the trunk and Windows binary editions > > > > > Steps for Error 1: > > > > ======== > > > > - Use the application wizard. > > > > - Create an application with the following database specification. > > > > Notice that the 'dog' table is related to the 'person' table, BUT the > > > > tables are specified in the incorrect sequence: > > > > > table: dog > > > > field definition in wizard: name > > > > field definition in wizard: owner person > > > > > table person > > > > field definition in wizard: name > > > > field definition in wizard: age integer > > > > > - Using the generated application; choose 'dog select' from the menu. > > > > - An error is generated: > > > > File "E:\Dev\w2p\web2py_hg\gluon\sql.py", line 1537, in > > > > __allocate > > > > raise RuntimeError, "Using a recursive select but encountered a > > > > broken reference" > > > > RuntimeError: Using a recursive select but encountered a broken > > > > reference > > > > > Error 2: > > > > ======== > > > > - Use the appadmin for any application > > > > (eg:http://127.0.0.1:8000/myapp3/appadmin/index) > > > > - Click the link to list the content of any table which already > > > > contains a few records. > > > > (eg:http://127.0.0.1:8000/myapp3/appadmin/select/...) > > > > - Click the 'view' link next to any of the records > > > > (eg:http://127.0.0.1:8000/myapp3/appadmin/mytable_read/1) > > > > - An error results: 'invalid function' > > > > > Thanks for helping.- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -

