Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
5
-
Flagged
Description
From client project:
When working with the channel parameters / settings we noted the numeric values short, int, long + corresponding wrappers are not supported. In the documentation [1] section "Component Parameters and Channel Parameters" shows `short, int, long, java.lang.Short, java.lang.Integer, java.lang.Long - Text field that accepts only numeric values`, where somewhere more to the bottom of the page a note is placed "Only channel properties of type String and boolean are supported."
To me as a developer it seems quite unclear whether that last note is only about the channel parameter help texts or also about the supported field types. To further improve the CM I think an improvement should me made to "fix" the numeric fields for CM parameters. As in some cases they can be quite handy
Steps to reproduce:
- Create a custom ChannelInfo interface, and configure it as a hst:channelinfoclass parameter
- Add a method with a numeric return type (short / int / long)
- Try editing & saving the numeric fields through the channel parameters UI, they are not getting saved.
Attachments
Issue Links
- relates to
-
CMS-12734 Improve validation of number fields in the component editor
- Open