Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1581

AttributeDefinition.convertToExpectedType can convert LIST of PROPERTY to OBJECT

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha6
    • None
    • Management
    • None

      It's valid for callers to pass a param of ModelType.LIST with elements of type PROPERTY for use in attributes of type OBJECT. AttributeDefinition.convertToExpectedType can deal with this, thus avoiding storing an attribute value with a "usable" but not "per specification" type.

      JBEAP-4767 shows an example case where this kind of value is passed as a param.

            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: