From f29af68ce9d462019d71d3dbe9be96a980fb4095 Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Tue, 29 Oct 2024 15:29:58 +0800 Subject: [PATCH] [WFCORE-6981] fix incorrect alternatives inherited from basis attribute --- .../as/server/controller/resources/DeploymentAttributes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/org/jboss/as/server/controller/resources/DeploymentAttributes.java b/server/src/main/java/org/jboss/as/server/controller/resources/DeploymentAttributes.java index ab2d2b8e735..bbaafad4052 100644 --- a/server/src/main/java/org/jboss/as/server/controller/resources/DeploymentAttributes.java +++ b/server/src/main/java/org/jboss/as/server/controller/resources/DeploymentAttributes.java @@ -395,6 +395,7 @@ public void marshallAsAttribute(AttributeDefinition attribute, ModelNode resourc /** Return type for the upload-deployment-xxx operaions */ private static final SimpleAttributeDefinition UPLOAD_HASH_REPLY = SimpleAttributeDefinitionBuilder.create(CONTENT_HASH) .setRequired(true) + .setAlternatives() .build();