Never record undo information for session or data import
for session, it may causes unlimited database size expansion while it makes no sense
to undo this kind of changes. For data import, they are created programatically hence
we may not want to undo this either.
--- a/cubicweb/server/session.py Mon Dec 19 17:22:48 2016 +0100
+++ b/cubicweb/server/session.py Wed Jan 04 10:02:05 2017 +0100
@@ -43,6 +43,8 @@
NO_UNDO_TYPES = schema.SCHEMA_TYPES.copy()
NO_UNDO_TYPES.add('CWCache')
+NO_UNDO_TYPES.add('CWSession')
+NO_UNDO_TYPES.add('CWDataImport')
# is / is_instance_of are usually added by sql hooks except when using
# dataimport.NoHookRQLObjectStore, and we don't want to record them
# anyway in the later case