[rt-users] Default Value for User Custom Fields

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Mar 7 07:56:41 EST 2017


On Tue, Mar 7, 2017 at 3:16 AM, Woody - Wild Thing Safaris
<woody at wildthingsafaris.com> wrote:
> I added "Users" to line 2016 in CustomField.pm
>
>     return 0 unless $self->LookupType =~ /RT::(?:Ticket|Transaction|User)$/;
>
> and it seems to behave as expected. But RT::Users must have been left out
> for a reason?

Possibly not.

Here is the commit in which the code was initially committed:

0bb6abb2f4641896d3a77ccca5bb0c3cdc699026

And here is a commit where BP adds Assets to the list of CFs that can
have defaults:

5d851b77f275252578ce29c21a652c88a6663ab6

So I am guessing that it was just an oversight that Users and Queues
aren't in the list of CFs that can have default values.

BP, any commentary on this?

Thanks,

-m



More information about the rt-users mailing list