cubicweb #17049333 Unexpected behaviour of hooks control context manager [resolved]
if one execute code like:
with cnx.hooks.deny_all_hooks_but('metadata'): with cnx.hooks.deny_all_hooks_but(): # mycode
'metadata' hooks will be activated anyway in the inner block, which is rather unexpected (of course in real life you only see the latest hooks control statement, the former being higher in the call stack).
|closed by||<not specified>|