Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Number fields for component properties are shown when a @Parameter annotated method has a numeric return type. These can be short, int, long, java.lang.Short, java.lang.Integer and java.lang.Long *.
When an invalid number is stored, for example a value that exceeds the max value of a 'short' type, when the get method is called, the returned value is zero. There are no warnings logged or errors given.
To improve this the correct validation for the number field type should be applied.
Attachments
Issue Links
- relates to
-
CMS-12916 Support numeric values for channel parameters/settings
- Open