[midPoint-git] [Evolveum/midpoint] c94f7b: (Hopefully) finally fix TestEscalation

mederly noreply at github.com
Mon Dec 16 16:39:37 CET 2024


  Branch: refs/heads/support-4.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: c94f7b16afcfd4438b83d98da56158026e26580b
      https://github.com/Evolveum/midpoint/commit/c94f7b16afcfd4438b83d98da56158026e26580b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractCertificationTest.java
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java

  Log Message:
  -----------
  (Hopefully) finally fix TestEscalation

There are actually three different "close" dates to check, so we
have to carefully differentiate between them. This should fix
TestEscalation failures when the end of the current year is
drawing nearer.

(cherry picked from commit e9d283446390748eb04c32b531ba86d28c859dd4)


  Commit: 153ab053b87bdbb8177f5046023cf4f0603ec39c
      https://github.com/Evolveum/midpoint/commit/153ab053b87bdbb8177f5046023cf4f0603ec39c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java

  Log Message:
  -----------
  Enable test034SearchAllCasesAllowedDeputy + mark others

TestCertificationBasic#test034SearchAllCasesAllowedDeputy was
enabled, as the corresponding functionality seems to be already
implemented.

Three other "temporarily disabled" tests were marked as such,
pointing to MID-10294.

(cherry picked from commit 2a76633016fe83b5ed764cf478b4782ee91943ae)


  Commit: 30c426492f75b6b4544d1a554e9bc75b9da0edcb
      https://github.com/Evolveum/midpoint/commit/30c426492f75b6b4544d1a554e9bc75b9da0edcb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M docs/deployment/ninja/command/export-audit.adoc
    M docs/deployment/ninja/command/export.adoc
    M docs/deployment/ninja/command/import-audit.adoc
    M docs/deployment/ninja/command/import.adoc
    M docs/deployment/ninja/command/upgrade-objects.adoc
    A docs/deployment/ninja/command/verify-audit.adoc
    M docs/deployment/ninja/command/verify.adoc
    M docs/deployment/ninja/index.adoc
    M docs/deployment/ninja/use-case/upgrade-with-ninja.adoc
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
    M release-notes.adoc
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/UpAndDown.java
    R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobStarter.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/QuartzUtil.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/quartz/TaskSynchronizer.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestMiscellaneous.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/support-4.9' into support-4.9


  Commit: 35c17370d3935e18114922ac59c7b8e3ef98fa9c
      https://github.com/Evolveum/midpoint/commit/35c17370d3935e18114922ac59c7b8e3ef98fa9c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/jsr223/Jsr223ScriptEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/velocity/VelocityScriptEvaluator.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptTest.java
    A model/model-common/src/test/resources/expression/groovy/expression-objectref-variables-explicit.xml
    M model/model-common/src/test/resources/expression/groovy/expression-objectref-variables.xml
    M model/model-common/src/test/resources/expression/javascript/expression-objectref-variables.xml
    M model/model-common/src/test/resources/expression/python/expression-objectref-variables.xml
    M model/model-common/src/test/resources/expression/velocity/expression-objectref-variables.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/DirectoryFileObjectResolver.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java

  Log Message:
  -----------
  Treat dangling references in expressions better

When a reference was used in an expression in the default "object
variable mode", and its value was not resolvable, a fatal error
occurred. This was not correct according to the docs.

This commit fixes that. The null value is used instead. Note that
the behavior is still not quite consistent, as described in MID-10296.

This resolves MID-10162.

(cherry picked from commit e129da4fe229f8e2d937f191d9859bb1126b020e)


Compare: https://github.com/Evolveum/midpoint/compare/03c70b3c1ff0...35c17370d393

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list