diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c9ed3081d083c1a78c14b590cb4b0e716478e71..740fb1b12932f1387fa82ea08bf978b997b9310e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### +- Detection for cyclic references when converting entites using the high level API. + ### Security ### ### Documentation ### diff --git a/unittests/test_high_level_api.py b/unittests/test_high_level_api.py index 1e529e94f6a54135822ea1c5b2fa355116252faf..aa9f6caae0337a90cd74569a100bcf0e9793b14c 100644 --- a/unittests/test_high_level_api.py +++ b/unittests/test_high_level_api.py @@ -649,4 +649,6 @@ def test_cyclic_references(): r1.add_property(name="ref_to_two", value=r2) r2.add_property(name="ref_to_one", value=r1) + # This would have lead to a recursion error before adding the detection for + # cyclic references: r = convert_to_python_object(r1)