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/03/03 13:41:43 UTC
[isis] branch master updated: Fix for ISIS-2967: Definition of maxlength in @Property and @Parameter for the @UserLocale in ApplicationUser
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 48ec92a Fix for ISIS-2967: Definition of maxlength in @Property and @Parameter for the @UserLocale in ApplicationUser
new 524107f Merge pull request #865 from opencirclesolutions/ISIS-2967
48ec92a is described below
commit 48ec92a476f3092215e1287645569d94410fae68
Author: Patrick Deenen <pa...@opencirclesolutions.nl>
AuthorDate: Thu Mar 3 14:32:40 2022 +0100
Fix for ISIS-2967: Definition of maxlength in @Property and @Parameter for the @UserLocale in ApplicationUser
---
.../isis/extensions/secman/applib/user/dom/ApplicationUser.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/extensions/security/secman/applib/src/main/java/org/apache/isis/extensions/secman/applib/user/dom/ApplicationUser.java b/extensions/security/secman/applib/src/main/java/org/apache/isis/extensions/secman/applib/user/dom/ApplicationUser.java
index 86ccece..ac53eaa 100644
--- a/extensions/security/secman/applib/src/main/java/org/apache/isis/extensions/secman/applib/user/dom/ApplicationUser.java
+++ b/extensions/security/secman/applib/src/main/java/org/apache/isis/extensions/secman/applib/user/dom/ApplicationUser.java
@@ -392,13 +392,15 @@ public abstract class ApplicationUser
@Property(
domainEvent = UserLocale.DomainEvent.class,
- editing = Editing.DISABLED // edit via update button
+ editing = Editing.DISABLED, // edit via update button
+ maxLength = UserLocale.MAX_LENGTH
)
@PropertyLayout(
fieldSetId = "regional"
)
@Parameter(
- optionality = Optionality.OPTIONAL
+ optionality = Optionality.OPTIONAL,
+ maxLength = UserLocale.MAX_LENGTH
)
@Target({ ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)