-
Bug
-
Resolution: Done
-
Major
-
3.1.6.Final, 4.0.0.Final
-
None
Can be reproduced by slight modification in CustomBeanPriorityTest. Alter the extension to also observe ProcessBean and this will never trigger.
The reason is that for ProcessBean we check if the given bean is enabled and the newly added bean will fail this check because ModuleEnablement doesn't yet recognize this bean.
The Beans#isBeanEnabled() check could perhaps be extended to contain a special check for synth alternatives.