cubicweb #1412648 commit or rollback during postcreate reset hooks control state [resolved]
currently, postcreate is executed with all hooks but metadata hooks deactivated. If one commit() or rollback() in its postcreate, the hooks control state is reseted and later instruction run with all hooks activated.
We should either forgive commit/rollback when hooks control is on, but that may be problematic, or ensure hooks control state is not resetted in such cases
|closed by||#c2452cd57026 [session] enhance session's transaction storage handling to fix cases where commit/rollback is done while in the context of hooks_control/security_enabled managers. Closes #1412648: commit or rollback during postcreate reset hooks control state|