Details
-
Task
-
Resolution: Done
-
Major
-
8.0.0.Alpha1
-
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
- is duplicated by
-
WFCORE-224 AttributeDefinition validateAndSet and validateOperation should perform basic type conversions before returning
- Resolved
- is related to
-
AS7-4913 Server sends "big integer <val>" for config entries when a reload is needed
- Resolved