59c238539d
- The problem here is that due to the nature of the relationship and the way the loop was set up it was possible to miss some relationships: A _ C \_ D B _ E \_ F Since we looped over A and B and did a break when we found something to attach it to (in this example A would find C) it would break. What we should be looping through is CDEF and finding a home for each one. Did the same change in to_one though it doesn't matter since it's one-to-one. to-many is untouched because it's already looping over CDEF and finding a home for it because the relationship is reversed. - Fix #98 |
||
---|---|---|
.. | ||
singleton | ||
00_struct.tpl | ||
01_types.tpl | ||
02_hooks.tpl | ||
03_finishers.tpl | ||
04_relationship_to_one.tpl | ||
05_relationship_one_to_one.tpl | ||
06_relationship_to_many.tpl | ||
07_relationship_to_one_eager.tpl | ||
08_relationship_one_to_one_eager.tpl | ||
09_relationship_to_many_eager.tpl | ||
10_relationship_to_one_setops.tpl | ||
11_relationship_one_to_one_setops.tpl | ||
12_relationship_to_many_setops.tpl | ||
13_all.tpl | ||
14_find.tpl | ||
15_insert.tpl | ||
16_update.tpl | ||
17_upsert.tpl | ||
18_delete.tpl | ||
19_reload.tpl | ||
20_exists.tpl | ||
21_auto_timestamps.tpl |