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 2020/03/17 19:33:13 UTC

[isis] branch master updated (0892d9b -> 7b207f0)

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

ahuber pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git.


    from 0892d9b  ISIS-2062: more docs
     add 94770e5  ISIS-2309: remove hotfix code branches
     new 7b207f0  ISIS-2309: merge @EmbeddedOnly fix

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../core/config/beans/IsisBeanTypeRegistry.java    | 12 +++-
 ...doPersistenceCapableAnnotationFacetFactory.java | 24 ++++---
 .../JdoPersistenceCapableFacetAnnotation.java      |  3 +-
 .../JdoPersistenceCapableFacetImpl.java            | 20 ------
 .../object/persistencecapable/MementoUtil.java     | 77 ----------------------
 .../services/mementos/ObjectMementoLegacy.java     |  3 +-
 6 files changed, 28 insertions(+), 111 deletions(-)
 delete mode 100644 persistence/jdo/datanucleus-5/src/main/java/org/apache/isis/persistence/jdo/datanucleus5/metamodel/facets/object/persistencecapable/MementoUtil.java


[isis] 01/01: ISIS-2309: merge @EmbeddedOnly fix

Posted by ah...@apache.org.
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

commit 7b207f0896f5cf638b78992254b6a47b1ba47762
Merge: 0892d9b 94770e5
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Mar 17 20:32:59 2020 +0100

    ISIS-2309: merge @EmbeddedOnly fix

 .../core/config/beans/IsisBeanTypeRegistry.java    | 12 +++-
 ...doPersistenceCapableAnnotationFacetFactory.java | 24 ++++---
 .../JdoPersistenceCapableFacetAnnotation.java      |  3 +-
 .../JdoPersistenceCapableFacetImpl.java            | 20 ------
 .../object/persistencecapable/MementoUtil.java     | 77 ----------------------
 .../services/mementos/ObjectMementoLegacy.java     |  3 +-
 6 files changed, 28 insertions(+), 111 deletions(-)

diff --cc viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/services/mementos/ObjectMementoLegacy.java
index 6ae5d17,caaf678..d052ca7
--- a/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/services/mementos/ObjectMementoLegacy.java
+++ b/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/services/mementos/ObjectMementoLegacy.java
@@@ -219,8 -220,13 +220,8 @@@ final class ObjectMementoLegacy impleme
                      ObjectMementoLegacy memento,
                      SpecificationLoader specificationLoader) {
  
 -                
                  if(_NullSafe.isEmpty(memento.persistentOidStr)) {
-                     return ManagedObject.empty(); 
 -                    
 -                    specificationLoader.lookupBySpecIdElseLoad(memento.objectSpecId).streamFacets()
 -                    .forEach(facet->System.err.println("!!! facet " + facet));
 -                    
+                     throw _Exceptions.illegalArgument("need an id to lookup an object specId=%s", memento.objectSpecId);
                  }
                  
                  RootOid rootOid = Oid.unmarshaller().unmarshal(memento.persistentOidStr, RootOid.class);