cubicweb/server/test/data/sources_extern
author Laurent Wouters <lwouters@cenotelie.fr>
Tue, 24 Apr 2018 10:19:42 +0200
branch3.26
changeset 12430 5b6f54f6033a
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[server] Fixed issue with the adapters cache of a cloned EditedEntity The adapters' cache of the entity within an EditedEntity used to be copied along the entity itself during a cloning operation of the EditedEntity. This raises an issue when the adapters' cache is not empty and contains cached values linking to transaction-specific data (or the transaction itself). This prevents the clone EditedEntity being used in a transaction outside the one that created it. This change resets the adapters' cache of the new copy so that no cached value remain. The new copy can then be used in a new transaction afterwards.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
364
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
[system]
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
db-driver   = sqlite
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
db-name     = tmpdb-extern
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
db-encoding = UTF-8