[midPoint-git] [Evolveum/midpoint] 001e74: Fix the initialization of ScriptExpressionFactory

mederly noreply at github.com
Wed Sep 20 11:32:28 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 001e7418cde3ed2895a4f7d8ec89d7e1cf16cade
      https://github.com/Evolveum/midpoint/commit/001e7418cde3ed2895a4f7d8ec89d7e1cf16cade
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/ModelCommonBeans.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionFactory.java
    M model/model-impl/src/main/resources/ctx-model.xml

  Log Message:
  -----------
  Fix the initialization of ScriptExpressionFactory

There was a cycle in Spring beans that was not completely visible
to Spring, because of the use of static ModelCommonBeans.get()
hack used right in the bean constructor.

The ScriptExpressionFactory construction is now done purely by Spring.

This should fix occasional Jenkins build failures.




More information about the midPoint-svn mailing list