wildfly/wildfly — pull request #5242 by darranl (2013-10-09 11:46:10+00:00)
Title: [WFLY-490] / [WFLY-2271] Use the attribute defintion to resolve the value required for rollback should rollback be required.

This one requires some feedback to check why this was not already done this way.

As not all attributes are mandatory it seems the attribute definition should be used to resolve the original value to take into account that we may have been relying on the default value.

Alternatively I could write a fix purely in terms of the write attribute handler I am currently trying to fix but I suspect our testing of rollbacks is pretty light especially as most operations are expected to work, I wonder how many other write attribute handlers assume that the value to restore successfully resolved.