[midPoint-git] [Evolveum/midpoint] b9275f: SqaleRepositoryService#addObject fails operationRe...

virgo47 noreply at github.com
Tue Mar 9 15:54:19 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b9275fd0c1ce32050f3900a2326eb56b8367eed0
      https://github.com/Evolveum/midpoint/commit/b9275fd0c1ce32050f3900a2326eb56b8367eed0
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/OperationResultAssert.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/SqaleRepoAddObjectTest.java

  Log Message:
  -----------
  SqaleRepositoryService#addObject fails operationResult if name is null

This is minor difference compared to legacy SQL repo, but this seems to
be beyond basic method precondition checks and it's surprising when
the OperationResult is still "success" (until the catch, that is).
Now the check is executed inside subresult and generates fatal error.


  Commit: 871f7752c2d1c171199e6aa41f522687fda3d273
      https://github.com/Evolveum/midpoint/commit/871f7752c2d1c171199e6aa41f522687fda3d273
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M repo/repo-sqale/sql/pgnew-repo.sql

  Log Message:
  -----------
  repo-sqale schema: procedure apply_change for incremental schema updates


Compare: https://github.com/Evolveum/midpoint/compare/0746750ee418...871f7752c2d1


More information about the midPoint-svn mailing list