debian/source/format
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 24 Mar 2014 11:57:23 +0100
changeset 9582 46ed25d38fe2
parent 6708 09c98763ae9d
child 12642 5722d8c461eb
permissions -rw-r--r--
Move entity cache from web.request.ConnectionCubicWebRequestBase to repoapi.ClientConnection ResultSet._build_entity relies on an entity cache to avoid going round in circles (stack overflow due to infinite recursion) e.g. in a postcreate script. Clear the cache at commit/rollback time to avoid unexpected side effects; and explicitly clear the cache in a few tests where we mix ORM and RQL using the same connection.

1.0