flake8-ok-files.txt
author Laurent Wouters <lwouters@cenotelie.fr>
Tue, 24 Apr 2018 10:19:42 +0200
changeset 12297 38058ce2a9ec
parent 12291 b640ef6ad633
child 12300 253fb20bc883
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.

cubicweb/__init__.py
cubicweb/__main__.py
cubicweb/dataimport/csv.py
cubicweb/dataimport/importer.py
cubicweb/dataimport/massive_store.py
cubicweb/dataimport/stores.py
cubicweb/dataimport/test/data-massimport/schema.py
cubicweb/dataimport/test/data/schema.py
cubicweb/dataimport/test/test_csv.py
cubicweb/dataimport/test/test_pgstore.py
cubicweb/dataimport/test/test_massive_store.py
cubicweb/dataimport/test/test_sqlgenstore.py
cubicweb/dataimport/test/test_stores.py
cubicweb/dataimport/test/unittest_importer.py
cubicweb/devtools/test/data/cubes/i18ntestcube/__init__.py
cubicweb/devtools/test/data/cubes/__init__.py
cubicweb/devtools/test/data/schema.py
cubicweb/devtools/testlib.py
cubicweb/devtools/test/unittest_devctl.py
cubicweb/devtools/test/unittest_i18n.py
cubicweb/devtools/test/unittest_webtest.py
cubicweb/devtools/webtest.py
cubicweb/entities/adapters.py
cubicweb/entities/authobjs.py
cubicweb/entities/test/unittest_base.py
cubicweb/etwist/__init__.py
cubicweb/etwist/request.py
cubicweb/etwist/service.py
cubicweb/ext/__init__.py
cubicweb/hooks/synccomputed.py
cubicweb/hooks/syncsources.py
cubicweb/hooks/test/data/hooks.py
cubicweb/hooks/test/unittest_notificationhooks.py
cubicweb/hooks/test/unittest_security.py
cubicweb/hooks/test/unittest_syncsession.py
cubicweb/hooks/test/unittest_syncsources.py
cubicweb/pylintext.py
cubicweb/repoapi.py
cubicweb/rqlrewrite.py
cubicweb/rset.py
cubicweb/rtags.py
cubicweb/server/__init__.py
cubicweb/server/repository.py
cubicweb/server/rqlannotation.py
cubicweb/server/schema2sql.py
cubicweb/server/session.py
cubicweb/server/sources/__init__.py
cubicweb/server/sources/native.py
cubicweb/server/sqlutils.py
cubicweb/server/ssplanner.py
cubicweb/server/utils.py
cubicweb/server/test/datacomputed/migratedapp/schema.py
cubicweb/server/test/datacomputed/schema.py
cubicweb/server/test/data/entities.py
cubicweb/server/test/data/hooks.py
cubicweb/server/test/data-migractions/cubes/fakecustomtype/__init__.py
cubicweb/server/test/data-migractions/cubes/fakeemail/__init__.py
cubicweb/server/test/data-migractions/cubes/__init__.py
cubicweb/server/test/data-migractions/migratedapp/__init__.py
cubicweb/server/test/data-schema2sql/__init__.py
cubicweb/server/test/unittest_checkintegrity.py
cubicweb/server/test/unittest_datafeed.py
cubicweb/server/test/unittest_edition.py
cubicweb/server/test/unittest_ldapsource.py
cubicweb/server/test/unittest_migractions.py
cubicweb/server/test/unittest_serverctl.py
cubicweb/server/test/unittest_session.py
cubicweb/server/test/unittest_ssplanner.py
cubicweb/server/test/unittest_rqlannotation.py
cubicweb/server/test/unittest_utils.py
cubicweb/schema.py
cubicweb/sobjects/notification.py
cubicweb/sobjects/services.py
cubicweb/sobjects/test/unittest_notification.py
cubicweb/sobjects/test/unittest_register_user.py
cubicweb/sobjects/textparsers.py
cubicweb/statsd_logger.py
cubicweb/test/data/libpython/cubicweb_comment/__init__.py
cubicweb/test/data/libpython/cubicweb_comment/__pkginfo__.py
cubicweb/test/data/libpython/cubicweb_email/entities.py
cubicweb/test/data/libpython/cubicweb_email/hooks.py
cubicweb/test/data/libpython/cubicweb_email/__init__.py
cubicweb/test/data/libpython/cubicweb_email/__pkginfo__.py
cubicweb/test/data/libpython/cubicweb_email/views/__init__.py
cubicweb/test/data/libpython/cubicweb_file/entities/__init__.py
cubicweb/test/data/libpython/cubicweb_file/hooks/__init__.py
cubicweb/test/data/libpython/cubicweb_file/__init__.py
cubicweb/test/data/libpython/cubicweb_file/__pkginfo__.py
cubicweb/test/data/libpython/cubicweb_file/views.py
cubicweb/test/data/libpython/cubicweb_forge/__init__.py
cubicweb/test/data/libpython/cubicweb_forge/__pkginfo__.py
cubicweb/test/data/libpython/cubicweb_mycube/__init__.py
cubicweb/test/data/libpython/cubicweb_mycube/__pkginfo__.py
cubicweb/test/data/migration/0.1.0_common.py
cubicweb/test/data/migration/0.1.0_repository.py
cubicweb/test/data_schemareader/schema.py
cubicweb/test/data/server_migration/bootstrapmigration_repository.py
cubicweb/test/data/views.py
cubicweb/test/unittest_binary.py
cubicweb/test/unittest_cwconfig.py
cubicweb/test/unittest_cwctl.py
cubicweb/test/unittest_mail.py
cubicweb/test/unittest_repoapi.py
cubicweb/test/unittest_req.py
cubicweb/test/unittest_rqlrewrite.py
cubicweb/test/unittest_rtags.py
cubicweb/test/unittest_schema.py
cubicweb/test/unittest_toolsutils.py
cubicweb/test/unittest_wfutils.py
cubicweb/web/application.py
cubicweb/web/formwidgets.py
cubicweb/web/test/data/entities.py
cubicweb/web/test/unittest_application.py
cubicweb/web/test/unittest_http_headers.py
cubicweb/web/test/unittest_propertysheet.py
cubicweb/web/test/unittest_uicfg.py
cubicweb/web/test/unittest_views_basetemplates.py
cubicweb/web/test/unittest_views_cwsources.py
cubicweb/web/test/unittest_views_json.py
cubicweb/web/views/authentication.py
cubicweb/web/views/cwuser.py
cubicweb/web/views/editcontroller.py
cubicweb/web/views/json.py
cubicweb/web/views/searchrestriction.py
cubicweb/web/views/staticcontrollers.py
cubicweb/web/views/workflow.py
cubicweb/web/views/uicfg.py
cubicweb/web/webctl.py
cubicweb/xy.py
cubicweb/pyramid/auth.py
cubicweb/pyramid/bwcompat.py
cubicweb/pyramid/config.py
cubicweb/pyramid/core.py
cubicweb/pyramid/defaults.py
cubicweb/pyramid/__init__.py
cubicweb/pyramid/login.py
cubicweb/pyramid/predicates.py
cubicweb/pyramid/profile.py
cubicweb/pyramid/resources.py
cubicweb/pyramid/rest_api.py
cubicweb/pyramid/session.py
cubicweb/pyramid/tools.py
cubicweb/pyramid/test/__init__.py
cubicweb/pyramid/test/test_bw_request.py
cubicweb/pyramid/test/test_config.py
cubicweb/pyramid/test/test_core.py
cubicweb/pyramid/test/test_login.py
cubicweb/pyramid/test/test_rest_api.py
cubicweb/pyramid/test/test_tools.py
cubicweb/pyramid/pyramidctl.py
cubicweb/wfutils.py