Użytkownik Nate Lowrie napisał:
> Ok, so to add some more info to this, I tried setting SaveNewUnchanged
> to True.  When I set it to True, isChanged on the bizobj is still
> returning False.  I did a little more digging and when the bizobj
> isChanged method calls the current cursor's isChanged method,
> includeNewUnchanged is passed as True.  The _newRecords dic on the
> cursor has a value of {-1:None}, and as a result the cursor's isChanged
> method is returning None because that is what's in the value for the
> _newRecords dic.
>    

This is because of small bug in dCursorMixin isChanged() method.
There is line:
             modrec = self._newRecords.get(recKey, None)
but should be:
             modrec = recKey in self._newRecords


-- 
Regards
Jacek Kałucki

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to