[rt-devel] missing ValidateValue method

Christian Loos cloos at netcologne.de
Tue Nov 11 06:54:01 EST 2014


Hi,

playing around with CustomFieldValues I noticed that you can add
arbitrary values for CustomFields of type select.

RT::Record->_AddCustomFieldValue calls ValidateValue [1] on a
CustomField, but this method doesn't exist.
Everything I can found is that this method was added with [2] in 2002
and then removed with [3] in 2005.

No one is missing this method except me since the last 9 years? ;-)

Chris

[1] https://github.com/bestpractical/rt/blob/stable/lib/RT/Record.pm#L1988
[2] https://github.com/bestpractical/rt/commit/f86edd0
[3] https://github.com/bestpractical/rt/commit/fc805c1


More information about the rt-devel mailing list