Description
The glide_list field does not honor the dictionary max_length and there is no error when a user exceeds the limit of the dictionary entry (but the value is truncated when saving).
Steps to Reproduce
- Create a glide_list field on the cmdb_ci table.
- Ensure max_length is set to 1024
- Set the Reference to sys_user table without any filter
- Create a new record on the cmdb_ci table.
- Expand the glide_list and add 35 users as value.
- Save the record.
Workaround
Create an onChange Client Script to validate the length of the newValue and warn the user. For example:
if (newValue > max_length_of_dictionary_entry) {
alert("Max number of entires exceeded");
}
Related Problem: PRB657503