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

"Cast" model nodes in AttributeDefinition validateOperation()

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 9.0.0.Beta1
    • 8.0.0.Alpha1
    • Management
    • None

    Description

      If the ModelType of a node in an operation does not match the defined type for the model, but is properly convertible, convert it so we store the expected type in the model.

      For example, if someone passed in ModelType.LONG or ModelType.BIG_INTEGER but the model stores INT, store an INT.

      This can be done after the validator for the AD has been invoked. The validator will have ensured that the "cast" is correct.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: