web/data/add_button.png
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 24 Jul 2012 10:16:25 +0200
changeset 8493 25da1e5c7c50
parent 7668 b2fa3d89ed89
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.

(binary:image/png)