__pkginfo__.py
author Laurent Wouters <lwouters@cenotelie.fr>
Tue, 24 Apr 2018 10:19:42 +0200
changeset 12297 38058ce2a9ec
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
[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:
11382
dab704a0e4b1 Symlink __pkginfo__.py at root
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     1
cubicweb/__pkginfo__.py