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 2021/04/09 14:57:05 UTC

[isis] branch master updated: ISIS-2602: fixes Persistable_datanucleusIdLong not being hidden with tables

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 525f803  ISIS-2602: fixes Persistable_datanucleusIdLong not being hidden with tables
525f803 is described below

commit 525f8030a566bbb702b9143a8fd371ec80b795a0
Author: ahuber@apache.org <ah...@luna>
AuthorDate: Fri Apr 9 16:56:52 2021 +0200

    ISIS-2602: fixes Persistable_datanucleusIdLong not being hidden with
    tables
---
 .../jdo/datanucleus/mixins/Persistable_datanucleusIdLong.java          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/mixins/Persistable_datanucleusIdLong.java b/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/mixins/Persistable_datanucleusIdLong.java
index cf4826e..58d7b06 100644
--- a/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/mixins/Persistable_datanucleusIdLong.java
+++ b/persistence/jdo/datanucleus/src/main/java/org/apache/isis/persistence/jdo/datanucleus/mixins/Persistable_datanucleusIdLong.java
@@ -46,6 +46,7 @@ import lombok.RequiredArgsConstructor;
         domainEvent = Persistable_datanucleusIdLong.PropertyDomainEvent.class)
 @PropertyLayout(
         named = "Id",
+        fieldSetId = LayoutMixinConstants.METADATA_LAYOUT_GROUPNAME, sequence = "800.1",
         hidden = Where.ALL_TABLES
         )
 @RequiredArgsConstructor
@@ -57,7 +58,6 @@ public class Persistable_datanucleusIdLong {
     extends org.apache.isis.applib.IsisModuleApplib.PropertyDomainEvent
     <Persistable_datanucleusIdLong, Long> {}
 
-    @PropertyLayout(fieldSetId = LayoutMixinConstants.METADATA_LAYOUT_GROUPNAME, sequence = "800.1")
     public Long prop() {
         final Object objectId = JDOHelper.getObjectId(persistable);
         if(objectId instanceof DatastoreId) {
@@ -72,5 +72,4 @@ public class Persistable_datanucleusIdLong {
         return prop() == null;
     }
 
-
 }