Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2866

PersistentResourceXMLDescription does not marshal default attribute values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Final
    • 8.0.0.CR1
    • Management
    • None

      When PersistentResourceXMLDescription marshals a resource's attributes, it will not marshal a value stored in the model if it matches the attribute's default value.

      We should marshal the value provided by the user. Otherwise we will change the config file from what the user provided for reasons unrelated to management actions initiated by the user.

      DefaultAttributeMarshaller marshals default values.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: