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.

