]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed regression from 0.6 where Session.add()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Jul 2011 16:37:48 +0000 (12:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Jul 2011 16:37:48 +0000 (12:37 -0400)
commit0cc357c6caf8f5d4e33e3dedd799beeca0304518
tree646688445ff77f13f4b45af3a4b6460a4f3de794
parent5abc41127890e92facab2dc202f365a374d2394b
- Fixed regression from 0.6 where Session.add()
against an object which contained None in a
collection would raise an internal exception.
Reverted this to 0.6's behavior which is to
accept the None but obviously nothing is
persisted.  Ideally, collections with None
present or on append() should at least emit a
warning, which is being considered for 0.8.
[ticket:2205]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/properties.py
test/orm/test_cascade.py