Fri, 27 Aug 2010 08:56:58 +0200 [migration] fix add_relation_type() for symmetric relations stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 08:56:58 +0200] rev 6163
[migration] fix add_relation_type() for symmetric relations To check if the corresponding SQL table has to created, CWRelationAddOp tests that the tablename is not in the 'createdtables' session variable (i.e. the table hasn't been created before in the same transaction) and that len(rschema.rdefs) is not greater to 1, that is the relation already existed in the database before this transaction. In case of symmetric relations, len(rschema).rdefs will be at least 2 since rdefs will store both (subj, obj) and (obj, subj) relation definitions.
Thu, 26 Aug 2010 11:45:57 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:45:57 +0200] rev 6162
backport stable
Thu, 26 Aug 2010 11:35:02 +0200 Added tag cubicweb-debian-version-3.9.5-1 for changeset 12038ca95f0f stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 Aug 2010 11:35:02 +0200] rev 6161
Added tag cubicweb-debian-version-3.9.5-1 for changeset 12038ca95f0f
(0) -3000 -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 +3000 tip