diff --git a/host-controller/src/main/java/org/jboss/as/domain/controller/transformers/JSFSubsystemTransformers.java b/host-controller/src/main/java/org/jboss/as/domain/controller/transformers/JSFSubsystemTransformers.java
index <HASH>..<HASH> 100644
--- a/host-controller/src/main/java/org/jboss/as/domain/controller/transformers/JSFSubsystemTransformers.java
+++ b/host-controller/src/main/java/org/jboss/as/domain/controller/transformers/JSFSubsystemTransformers.java
@@ -117,7 +117,7 @@ class JSFSubsystemTransformers {
                 final String name = operation.require(NAME).asString();
                 final ModelNode value = operation.get(ModelDescriptionConstants.VALUE);
                 if (SLOT_ATTRIBUTE_NAME.equals(name)) {
-                    if (value.isDefined() && value.equals(SLOT_DEFAULT_VALUE)) {
+                    if (value.isDefined() && SLOT_DEFAULT_VALUE.equals(value.asString())) {
                         return DISCARD.transformOperation(context, address, operation);
                     } else {
                         return new TransformedOperation(operation,
[WFLY-<I>] fix ModelNode / String comparison

fix the comparison between value ModelNode and SLOT_DEFAULT_VALUE string

was: <I>e<I>fa4b6a<I>b6d<I>ea<I>d4fe9a2