Branch: refs/heads/backport-1341-to-stable-17.4.x Home: https://github.com/xwiki/xwiki-commons Commit: b0e723d54eb37444c01ba99f93caee27e6c55c57 https://github.com/xwiki/xwiki-commons/commit/b0e723d54eb37444c01ba99f93caee... Author: Michael Hamann <[email protected]> Date: 2025-05-26 (Mon, 26 May 2025) Changed paths: M xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/main/java/org/xwiki/component/embed/EmbeddableComponentManager.java M xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/test/java/org/xwiki/component/embed/EmbeddableComponentManagerTest.java Log Message: ----------- XCOMMONS-3346: The component manager doesn't detect cycles in the initialization of singleton components (#1341) * Add a flag to mark components that are currently being created. * Throw an exception when a second instance of a singleton would be created. * Add a test. (cherry picked from commit eda1b85c70cccc9a0f76ff67db4d9d06f79bbcd1) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications