Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:34:16 +0200] rev 6190
[migration] more rename_entity_type fix
* ensure repository caches and system tables are properly cleanup
* delete relations from/to entities deleted through sql
So we don't ends up with a corrupted db...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:24:45 +0200] rev 6189
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:23:16 +0200] rev 6188
[integrity] fix case where we can get two entities related while the cardinality is single on the object of an inlined relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:02:08 +0200] rev 6187
[migration] propose to open pdb on error during execution of rql/sql query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 23:00:53 +0200] rev 6186
[migration] set ask_confirm=False by default on rqlexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:59:55 +0200] rev 6185
[c-c db-check] skip error while checking relation, useful when analyzing really broken database (after a migration failure for instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 22:58:31 +0200] rev 6184
[c-c db-check] add missing import
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Sep 2010 18:58:20 +0200] rev 6183
[doc] fix typo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:34:42 +0200] rev 6182
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 07 Sep 2010 17:33:33 +0200] rev 6181
merged unpushed changes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 02 Sep 2010 14:09:20 +0200] rev 6180
fix name error by adding missing import
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 17:21:13 +0200] rev 6179
migration actions for unique_together constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Sep 2010 13:20:32 +0200] rev 6178
remove buggy call to builtins._ on navigation content
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Sep 2010 21:57:12 +0200] rev 6177
[views] rename Edition to Modification and personal information to profile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:37 +0200] rev 6176
[cw.utils] avoid spurious warning, ustrftime may be globally imported
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 19:37:12 +0200] rev 6175
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:04:12 +0200] rev 6174
add missing msgstr
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Sep 2010 15:03:11 +0200] rev 6173
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 03 Sep 2010 15:42:14 +0200] rev 6172
[web/uicfg] better error reporting for reledit_ctrl
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 01 Sep 2010 15:56:21 +0200] rev 6171
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 15:05:03 +0200] rev 6170
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 26 Aug 2010 14:38:49 +0200] rev 6169
fix order of parameters in call to callfunc_every
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 31 Aug 2010 10:43:03 +0200] rev 6168
[test/entity] fix test (following mtconverter 0.8+ plain text transform change)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 15:02:34 +0200] rev 6167
[doc] add documentation on RealDatabaseConfiguration
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 14:14:54 +0200] rev 6166
[devtools] add url_publish() method on CubicWebTC to test a full publishing process from the url_resolver to the html generation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 13:44:55 +0200] rev 6165
[devtools] make CubiwebTC.login() context-manager restore the testcase connection on exit
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 27 Aug 2010 09:02:41 +0200] rev 6164
[devtools] restore ability to test on real databases
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.