You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/10/27 13:41:16 UTC
[isis] branch master updated: ISIS-3265: just comments
This is an automated email from the ASF dual-hosted git repository.
ahuber 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 c13f3b83b7 ISIS-3265: just comments
c13f3b83b7 is described below
commit c13f3b83b72cca478c60771999c0cb2a2de38852
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Oct 27 15:41:05 2022 +0200
ISIS-3265: just comments
---
.../persistence/jpa/applib/integration/CausewayEntityListener.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/persistence/jpa/applib/src/main/java/org/apache/causeway/persistence/jpa/applib/integration/CausewayEntityListener.java b/persistence/jpa/applib/src/main/java/org/apache/causeway/persistence/jpa/applib/integration/CausewayEntityListener.java
index 13c4f4716d..d21bb867af 100644
--- a/persistence/jpa/applib/src/main/java/org/apache/causeway/persistence/jpa/applib/integration/CausewayEntityListener.java
+++ b/persistence/jpa/applib/src/main/java/org/apache/causeway/persistence/jpa/applib/integration/CausewayEntityListener.java
@@ -79,6 +79,8 @@ public class CausewayEntityListener {
val entityState = entity.getEntityState();
if(!entityState.isAttached()) {
+ // [ISIS-3265] seeing this with JPA
+ // if we don't exit here will cause a nested loop repeatedly trying to refetch the pojo
log.error("onPostLoad event while pojo not attached ({}); ignoring the event",
entityState.name());
return;