Paul McNett wrote:
> johnf wrote:
>>> Normally, after a requery we'd expect to see [] as the return from
>>> getChangedRows(), and {} as the return from cur._mementos.
>>> bo = self.getBizobj()
>>> print bo.getChangedRows()
>> [0]
>>> cur = bo._CurrentCursor
>>> print cur._mementos
>> {38714: {'status': None, 'pack2': None, 'mailnotes': None, 'pack1': 
>> None, 'invlang': None, 'doc2': None, 'doc1': None, 'maddress1': None, 
>> 'mzip': 
>> None, 'mcity': None, 'ship1': None, 'maddress2': None, 'notes1': 
>> None, 'continent': None, 'mstate': None, 'ship2': None}}
> 
> Ok, thanks John. This confirms what you said: fields were NULL in the 
> backend, they came over as None in Python, Dabo at some level couldn't 
> handle it, an error was raised, and the current field values are 
> probably something other than None (best guess is the empty string). The 
> memento would have been filled out in setFieldVal(), and that was 
> probably a result of something behind the scenes in Dabo.
> 
> I'll try to make some time today to write a testcase for this which will 
> lead to the fix. Thanks!

John, please update from svn and try again. I believe there's a high 
probability I've fixed your problem.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: Dabo-dev@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to