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/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 65f8851cdc CAUSEWAY-3686: fix format in prev. commit
65f8851cdc is described below

commit 65f8851cdc7e88940d19ca644675caa7670fb613
Author: Andi Huber <[email protected]>
AuthorDate: Thu Feb 8 10:31:06 2024 +0100

    CAUSEWAY-3686: fix format in prev. commit
---
 .../postprocessors/allbutparam/authorization/AuthorizationFacet.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/postprocessors/allbutparam/authorization/AuthorizationFacet.java
 
b/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/postprocessors/allbutparam/authorization/AuthorizationFacet.java
index b03c18b948..1c312ff1f9 100644
--- 
a/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/postprocessors/allbutparam/authorization/AuthorizationFacet.java
+++ 
b/core/metamodel/src/main/java/org/apache/causeway/core/metamodel/postprocessors/allbutparam/authorization/AuthorizationFacet.java
@@ -86,8 +86,7 @@ extends Facet, HidingInteractionAdvisor, 
DisablingInteractionAdvisor {
     
     public static String formatNotAuthorizedToEdit(final @Nullable Identifier 
identifier) {
         return identifier!=null
-                ? String.format("Not authorized to edit feature: %s",
-                        identifier.getLogicalType().getLogicalTypeSimpleName())
+                ? String.format("Not authorized to edit feature: %s", 
identifier.getLogicalIdentityString("#"))
                 : "Not authorized to edit";
     }
 

Reply via email to