Ignore:
Timestamp:
29 Apr 2012, 05:04:33 (13 years ago)
Author:
Henrik Bettermann
Message:

Add more info about the updateEntry: We can't use this method to update objects after adding fields to the interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py

    r8300 r8304  
    208208            if value == IGNORE_MARKER:
    209209                continue
    210             # Skip fields not declared in interface.
     210            # Skip fields not declared in interface and which are
     211            # not yet attributes of existing objects. We can thus not
     212            # add non-existing attributes here.
    211213            if not hasattr(obj, key):
    212214                continue
Note: See TracChangeset for help on using the changeset viewer.