debian/python-cubicweb-documentation.doc-base
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 11 Sep 2019 11:56:43 +0200 (2019-09-11)
branch3.26
changeset 12726 1a2c7d6397ec
parent 12704 a9b1f3d980fc
permissions -rw-r--r--
Avoid to update inlined relation column to NULL when deleting entities When deleting entities, cubicweb run a rql DELETE on all relations to trigger hooks. For an inlined relation this also mean set the column to NULL. This operation may fail if there's additional constraints on the column. Also this is a weird and useless behavior since deleting the entity row will by definition delete the relation. We still doesn't handle the case where both subject and object are going to be deleted because rows need to be deleted in a particular order that cubicweb doesn't handle. Add a test checking UPDATE does not occur but hooks are correctly called. Closes #17236690
Document: cubicweb-doc
Title: CubicWeb Documentation
Author: Logilab
Abstract: Some base documentation for CubicWeb users and developers
Section: Programming

Format: HTML
Index: /usr/share/doc/python-cubicweb-documentation/html/index.html
Files: /usr/share/doc/python-cubicweb-documentation/html/*