Project

General

Profile

« Previous | Next » 

Revision 6413

db_xml.py: put(): _setDefault(): Delay the evaluation of each col_default's value until the col_default is actually retrieved. This fixes a bug in the source table mappings where the explicit source entry was being created after the col_default source entry, causing the initial entry, which did not have the additional fields populated, to be used instead.

View differences:

test.xml.ref
15 15
        </path>
16 16
    </_setDefault>
17 17
</VegBIEN>
18
Inserted 3 new rows into database
18
Inserted 2 new rows into database

Also available in: Unified diff