cubicweb/web/data/images/ui-icons_454545_256x240.png
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 26 Sep 2017 10:46:43 +0200
branch3.25
changeset 12202 1c912b7d9503
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[entities] Restore dc_ methods instead of __getattr__ proxy In 8de62610cea2, a __getattr__ proxy was introduced to handle compatibility with dc_* methods being called on entity instances instead of through the IDublinCore adapter. Unfortunately, __getattr__ does not play well with super() and since the latter is often used by, we here restore all dc_ methods with an explicit proxy to the adapter. More verbose but should work. Closes #17103999.

(binary:image/png)