Hmz? (rt-3.0.3rc2)

Has something changed behaviour when creating tickets? Is it not
possible anymore to write usernames of the type “jonli89” as a requestor
, or must I write email-adresses?

/J

Nothing of that form should have changed. I just tested here and it
seems to work ok for me.On Thu, Jun 19, 2003 at 01:53:17PM +0200, Jonas Lincoln wrote:

Has something changed behaviour when creating tickets? Is it not
possible anymore to write usernames of the type “jonli89” as a requestor
, or must I write email-adresses?

/J


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

(issue still exists in 3.0.3)

This is from Ticket_Overlay.pm:
foreach my $type ( “Cc”, “AdminCc”, “Requestor” ) {
next unless (defined $args{$type});
foreach my $watcher ( ref( $args{$type} ) ? @{ $args{$type} } :
( $args{$type} ) ) {
my $user = RT::User->new($RT::SystemUser);
$user->LoadOrCreateByEmail($watcher) if ($watcher !~ /^\d+$/);
}
}

In User_Overlay.pm, we’ve got the following:
sub LoadOrCreateByEmail {
my $self = shift;
my $email = shift;

     my ($val, $message);

     $self->LoadByEmail($email);

[...]

And LoadByEmail only searches the EmailAddress-field. So I don’t get how
it is supposed to be able to load when only specifying userid, which
worked before. Is my setup old/broken? Or am I thinking wrong?

/J

Jesse Vincent wrote:

Jesse Vincent wrote:

Nothing of that form should have changed. I just tested here and it
seems to work ok for me.

Has something changed behaviour when creating tickets? Is it not
possible anymore to write usernames of the type “jonli89” as a requestor
, or must I write email-adresses?

Sorry. I thought you meant “local” unqalified email addresses in your
example. I don’t believe RT 2.0 or RT 3.0 has ever allowed you to type
RT usernames in the requestor field.

/J


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/rt – Trouble Ticketing. Free.