Skip to content

Commit 4845e4f

Browse files
committed
Allow empty IMS group descriptions
This closes #775
1 parent e74e261 commit 4845e4f

File tree

1 file changed

+2
-2
lines changed
  • accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/ims/request

1 file changed

+2
-2
lines changed

accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/ims/request/CreateGroupStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import com.fasterxml.jackson.annotation.JsonTypeName;
2020

2121
@JsonTypeName("createUserGroup")
22-
@JsonInclude(Include.NON_EMPTY) // neither empty strings nor null values are allowed for "description", compare with https://github.com/Netcentric/accesscontroltool/issues/724
22+
@JsonInclude(Include.NON_NULL)
2323
public class CreateGroupStep implements Step {
2424

2525
// this cannot be a constant, but still needs to be serialized as literal
@@ -29,5 +29,5 @@ public class CreateGroupStep implements Step {
2929
//@JsonProperty
3030
//String name;
3131
@JsonProperty
32-
public String description; // this may be null
32+
public String description; // this may be empty
3333
}

0 commit comments

Comments
 (0)