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
The following commit(s) were added to refs/heads/master by this push:
new 8d64dfd66e ISIS-3062: SessionLogEntry#causedBy should be optional
8d64dfd66e is described below
commit 8d64dfd66eafb73043d8fc11c0505ba79bd0057d
Author: Dan Haywood <[email protected]>
AuthorDate: Tue Aug 2 23:34:00 2022 +0100
ISIS-3062: SessionLogEntry#causedBy should be optional
---
.../isis/extensions/sessionlog/applib/dom/SessionLogEntry.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/extensions/security/sessionlog/applib/src/main/java/org/apache/isis/extensions/sessionlog/applib/dom/SessionLogEntry.java
b/extensions/security/sessionlog/applib/src/main/java/org/apache/isis/extensions/sessionlog/applib/dom/SessionLogEntry.java
index 3ab36feda9..8491db4b08 100644
---
a/extensions/security/sessionlog/applib/src/main/java/org/apache/isis/extensions/sessionlog/applib/dom/SessionLogEntry.java
+++
b/extensions/security/sessionlog/applib/src/main/java/org/apache/isis/extensions/sessionlog/applib/dom/SessionLogEntry.java
@@ -272,14 +272,14 @@ public abstract class SessionLogEntry implements
HasUsername, Comparable<Session
@Property(
domainEvent = CausedBy.DomainEvent.class,
editing = Editing.DISABLED,
- optionality = Optionality.MANDATORY
+ optionality = Optionality.OPTIONAL
)
@PropertyLayout(
fieldSetId="Details",
sequence = "2"
)
@Parameter(
- optionality = Optionality.MANDATORY
+ optionality = Optionality.OPTIONAL
)
@ParameterLayout(
named = "Caused by"
@@ -288,8 +288,8 @@ public abstract class SessionLogEntry implements
HasUsername, Comparable<Session
@Retention(RetentionPolicy.RUNTIME)
public @interface CausedBy {
class DomainEvent extends PropertyDomainEvent<String> {}
- boolean NULLABLE = false;
- String ALLOWS_NULL = "false";
+ boolean NULLABLE = true;
+ String ALLOWS_NULL = "true";
}
@CausedBy
public abstract SessionSubscriber.CausedBy getCausedBy();