From 4d37f1c93da38c1810a8d5a012647988e8f017ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Edelbo?= Date: Tue, 3 Sep 2024 17:28:09 +0200 Subject: [PATCH] Add failing test --- test/object-store/object.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/object-store/object.cpp b/test/object-store/object.cpp index e8782166e3..f4bab829eb 100644 --- a/test/object-store/object.cpp +++ b/test/object-store/object.cpp @@ -575,6 +575,16 @@ TEST_CASE("object") { }); } + SECTION("modifying origin table 'table2', property 'value' " + "while observing related table 'table', property 'origin' " + "-> does NOT send a notification") { + auto token = require_no_change(object_target, kpa_target_backlink); + + write([&] { + object_origin.set_column_value("value", 105); + }); + } + SECTION("modifying related table 'table', property 'value 1' " "while observing related table 'table', property 'value 1' " "-> DOES send a notification") {