Commit 814b5a2e authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Łukasz Nowak

Do not store Persistent object in Component registry cache.

(cherry picked from commit e7967448c588f4b5743dfca28d9be3ab47ba05c9)

Conflicts:
	product/ERP5Type/dynamic/component_package.py
parent 9ad4c8d4
......@@ -114,7 +114,7 @@ class ComponentDynamicPackage(ModuleType):
except AttributeError:
# XXX: Accessors may have not been generated yet
pass
else:
if validation_state_tuple in ('modified', 'validated'):
version = component.getVersion(validated_only=True)
# The versions should have always been set on ERP5Site property
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment