misc/migration/3.4.3_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 24 Jul 2012 10:16:25 +0200
changeset 8493 25da1e5c7c50
parent 2858 322272c5d67f
child 8798 cdab3aadc679
permissions -rw-r--r--
[entity/hooks] fix regression introduced by 4ba11607d84a on create_entity, attributes weren't cached, but they are since 4ba11607d84a and this triggered a bug: used values may be transformed by hooks (e.g. TidyHtmlFields), ending in invalid value in the cache. This is the regression. Now, set_attributes used to update the attributes cache while suffering from the very same pb. This is the now fixed old bug. Transformed attributes are now recorded in a transaction shared variable, and those are omitted from the client cache.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2858
322272c5d67f B sync after migration and restart so that cwuri does not show in forms
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
# sync and restart to make sure cwuri does not appear in forms
322272c5d67f B sync after migration and restart so that cwuri does not show in forms
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms()