Reference id overwritten unexpectedly

Bug #1086103 reported by Matt Haggard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

I've attached a runnable file that demonstrates the problem. It boils down to this:

foo = store.add(Foo())
foo.some_id = 99
store.commit()

bar = store.add(Bar())
bar.foo = foo
print bar.foo_id, '<-- I expect 99 but don't get it'

Revision history for this message
Matt Haggard (iffy) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.