Uwe Grauer wrote:
> Paul McNett wrote:
>> dabo Commit
>> Revision 2615
>> Date: 2007-01-06 22:28:20 -0800 (Sat, 06 Jan 2007)
>> Author: Paul
>>
>> Changed:
>> U   branches/paul_sandbox/dabo/db/dBackend.py
>> U   branches/paul_sandbox/dabo/db/dCursorMixin.py
>> U   branches/paul_sandbox/dabo/db/dbSQLite.py
>> U   branches/paul_sandbox/dabo/db/test/test_dCursorMixin.py
>>
>> Log:
>> Reverted my prior switch to use getFields() for DataStructure, because
>> getFields() doesn't take into account derived fields, or fields in other
>> joined tables, which was the whole reason we added getStructureDescription
>> in the first place.
>>
>> Fixed getStructureDescription() to be generic (no need for a separate
>> one in dbSQLite anymore) and to return consistent formats for sqlite
>> and mysql. Still need to add unit tests for the other databases to
>> make sure everything still works. In the meantime, if users of Firebird
>> (Uwe?) and Postgres (John?) could check out the paul_sandbox branch and
>> see if it works with their apps that would be most helpful.
>>
> -- snip --
> Paul,
> 
> please be more specific on what to test.
> Do you mean i should run an existing app with your branch to see what
> happens?

Yes, I made changes to a section of the code that caused you grief 
before, so I wanted to know if inserting, updating, saving, canceling 
works as well as it does in the current trunk.

What I need to do is install a test Firebird and Postgres server so I 
can subject them to the unit testing, but in lieu of that at least we 
have your real application to test.

> I did that.
> Besides the existing problem with the errorbox comming up when i edit a
> record in a childform, i see no real differences.

This error didn't exist in trunk, but does exist in my branch?


> The error was:
> Database Execution failed with response: (-501, "Error while trying to
> close PreparedStatement's associated result set: \n  Dynamic SQL Error\n
>  SQL error code = -501\n  Attempt to reclose a closed cursor")

If you are seeing this as a GUI error box, it is percolating all the way 
up from the bizobj/cursor/backend and it'll take some debugging to find 
out the line of code that is triggering this. Thanks for reporting it.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to