Description of problem: Instead of attribute enable-welcome-root being undefined it is set to a default value Version-Release number of selected component (if applicable): EAP 6.1.1 How reproducible: always Steps to Reproduce: 1. /subsystem=web/virtual-server=default-host:undefine-attribute(name=enable-welcome-root) 2. /subsystem=web/virtual-server=default-host:read-attribute(include-defaults=false, name=enable-welcome-root) Actual results: false Expected results: undefined Additional info: read-resource-description shows that this attribute is nillable
This because that SimpleAttribute 'enable-welcome-root' is nillable but has a default value set to false and WriteEnableWelcomeRoot considers all non-true value as a false value, Thus, user can't undefine it. I have prepared a fix on https://github.com/soul2zimate/jboss-eap/commit/848349cec769600e7be012b9bfc2ca759a41b367 However, I wonder if it's intended to work like that? if true, we only need to revise attribute description to non-nullable and accept false as default value.
Verified in EAP 6.2.0.ER7