You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/09/30 10:32:47 UTC
[isis] branch master updated: ISIS-3225 : fixes when delete JDO entity, on Execution Log Entry ... use memento dto rather than trying to access the domain object
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new c4365f9892 ISIS-3225 : fixes when delete JDO entity, on Execution Log Entry ... use memento dto rather than trying to access the domain object
c4365f9892 is described below
commit c4365f9892fe6b77ddaf232bae0c3cc1cbfbdde6
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Sep 30 11:32:25 2022 +0100
ISIS-3225 : fixes when delete JDO entity, on Execution Log Entry ... use memento dto rather than trying to access the domain object
---
.../isis/extensions/executionlog/applib/dom/ExecutionLogEntry.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/dom/ExecutionLogEntry.java b/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/dom/ExecutionLogEntry.java
index 45eb2ccf1d..db22373ba6 100644
--- a/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/dom/ExecutionLogEntry.java
+++ b/extensions/core/executionlog/applib/src/main/java/org/apache/isis/extensions/executionlog/applib/dom/ExecutionLogEntry.java
@@ -152,7 +152,7 @@ implements Comparable<ExecutionLogEntry>, DomainChangeRecord, HasInteractionIdAn
setLogicalMemberIdentifier(memberExecutionDto.getLogicalMemberIdentifier());
- setTarget( bookmarkService.bookmarkFor(execution.getEvent().getSubject()).orElseThrow() );
+ setTarget(Bookmark.forOidDto(memberExecutionDto.getTarget()));
setUsername(memberExecutionDto.getUsername());
if(execution instanceof PropertyEdit) {