This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch release-2.0.0-M8-RC4
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 99baae682ed2cea7f2b08c4f1e88f69815cf6eaf
Author: Dan Haywood <[email protected]>
AuthorDate: Sun Oct 2 08:46:33 2022 +0100

    ISIS-3234: fixes deletion of jdo
---
 .../extensions/executionoutbox/applib/dom/ExecutionOutboxEntry.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/extensions/core/executionoutbox/applib/src/main/java/org/apache/isis/extensions/executionoutbox/applib/dom/ExecutionOutboxEntry.java
 
b/extensions/core/executionoutbox/applib/src/main/java/org/apache/isis/extensions/executionoutbox/applib/dom/ExecutionOutboxEntry.java
index 49c95b7898..76cd83b03d 100644
--- 
a/extensions/core/executionoutbox/applib/src/main/java/org/apache/isis/extensions/executionoutbox/applib/dom/ExecutionOutboxEntry.java
+++ 
b/extensions/core/executionoutbox/applib/src/main/java/org/apache/isis/extensions/executionoutbox/applib/dom/ExecutionOutboxEntry.java
@@ -82,7 +82,6 @@ import lombok.experimental.UtilityClass;
         entityChangePublishing = Publishing.DISABLED
 )
 @DomainObjectLayout(
-        named = "ExecutionLogEntry",
         titleUiEvent = ExecutionOutboxEntry.TitleUiEvent.class,
         iconUiEvent = ExecutionOutboxEntry.IconUiEvent.class,
         cssClassUiEvent = ExecutionOutboxEntry.CssClassUiEvent.class,
@@ -143,7 +142,7 @@ implements Comparable<ExecutionOutboxEntry>, 
DomainChangeRecord, HasInteractionI
 
         
setLogicalMemberIdentifier(memberExecutionDto.getLogicalMemberIdentifier());
 
-        setTarget( 
bookmarkService.bookmarkFor(execution.getEvent().getSubject()).orElseThrow() );
+        setTarget(Bookmark.forOidDto(memberExecutionDto.getTarget()));
         setUsername(memberExecutionDto.getUsername());
 
         if(execution instanceof PropertyEdit) {
@@ -169,7 +168,7 @@ implements Comparable<ExecutionOutboxEntry>, 
DomainChangeRecord, HasInteractionI
     }
 
 
-    @Type
+    @DomainChangeRecord.Type
     @Override
     public ChangeType getType() {
         return ChangeType.EXECUTION;

Reply via email to