On Oct 7, 2008, at 6:20 AM, Uwe Grauer wrote:
> It looks like you added a additional parameter to
> _RemoteConnector.save() just because you need it for
> _RemoteConnector.saveAll().
> Would it be possible to be implemented without breaking existing code?
Those methods are only called if you have set a remote host. Either
both decorated versions will be called, or both undecorated versions.
If the decorated methods are called, they will never call the local
bizobj.
The traceback also shows that the error is occurring in
scanChangedRows. Try adding this debug info to that method:
738 for key, cursor in cursors.iteritems():
739 self._CurrentCursor = key
740 changedRows = self.getChangedRows(includeNewUnchanged)
741 changedRows.sort(reverse=True)
742 for row in changedRows:
743 self._moveToRowNum(row)
744 try:
print "SCAN", func, args, kwargs
745 func(*args, **kwargs)
746 except StandardError, e:
747 # Reset things and bail
748 dabo.errorLog.write(_("Error in
scanChangedRows: %s") % e)
749 self._CurrentCursor =
old_currentCursorKey
750 self._positionUsingPK(old_pk)
751 raise e
Let me know what it prints out.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]