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 2019/01/08 07:25:59 UTC

[isis] 09/10: ISIS-2079: fixes rebuildMetaModel to return the mixee rather than itself (a mixin)

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

commit 37aeeeb1d7a0e2f2e258869b7de61f8286793edb
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Jan 8 06:55:36 2019 +0000

    ISIS-2079: fixes rebuildMetaModel to return the mixee rather than itself (a mixin)
---
 .../org/apache/isis/applib/services/layout/Object_rebuildMetamodel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/applib/src/main/java/org/apache/isis/applib/services/layout/Object_rebuildMetamodel.java b/core/applib/src/main/java/org/apache/isis/applib/services/layout/Object_rebuildMetamodel.java
index 3d8ff54..f730751 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/services/layout/Object_rebuildMetamodel.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/services/layout/Object_rebuildMetamodel.java
@@ -51,7 +51,7 @@ public class Object_rebuildMetamodel {
     @MemberOrder(name = "datanucleusIdLong", sequence = "800.1")
     public Object act() {
         metaModelService.rebuild(object.getClass());
-        return this;
+        return object;
     }
 
     @javax.inject.Inject