Problems after User shredding

In a previous post I had asked about a problem involving removing a user
via Shredder. Turns out it was a legitimate user that shouldn’t have
been removed.

I’ve been re-associating all loose connections in the database to root
so they should still be there. I need to know if it is possible to
reattach the items in the database to the tickets they belong to?

Here is the error:

error: Can’t call method “Name” on an undefined value at
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm line 696.
context:

692: DelWatcher => sub {
693: my $self = shift;
694: my $principal = RT::Principal->new($self->CurrentUser);
695: $principal->Load($self->OldValue);
696: return $self->loc( “[_1] [_2] deleted”, $self->Field,
$principal->Object->Name);
697: },
698: Subject => sub {
699: my $self = shift;
700: return $self->loc( “Subject changed to [_1]”, $self->Data );

code stack: /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:696
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:602
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowTransaction:54
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowHistory:102
/usr/local/rt-3.6.1/share/html/Ticket/Display.html:63
/usr/local/rt-3.6.1/share/html/autohandler:279
raw error

Any and all help is appreciated.

Mathew Snyder

Mathew Snyder wrote:

In a previous post I had asked about a problem involving removing a user
via Shredder. Turns out it was a legitimate user that shouldn’t have
been removed.

I’ve been re-associating all loose connections in the database to root
so they should still be there. I need to know if it is possible to
reattach the items in the database to the tickets they belong to?

Here is the error:

error: Can’t call method “Name” on an undefined value at
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm line 696.
context:

692: DelWatcher => sub {
693: my $self = shift;
694: my $principal = RT::Principal->new($self->CurrentUser);
695: $principal->Load($self->OldValue);
696: return $self->loc( “[_1] [_2] deleted”, $self->Field,
$principal->Object->Name);
697: },
698: Subject => sub {
699: my $self = shift;
700: return $self->loc( “Subject changed to [_1]”, $self->Data );

code stack: /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:696
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:602
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowTransaction:54
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowHistory:102
/usr/local/rt-3.6.1/share/html/Ticket/Display.html:63
/usr/local/rt-3.6.1/share/html/autohandler:279
raw error

Any and all help is appreciated.

Mathew Snyder


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Upon further review, I’m not sure this has anything to do with Shredder.
The user that created the ticket which is experiencing this problem is
still in our database as are two other email addresses associated with
the ticket. I haven’t removed anything else from the ticket so I’m not
sure what to look for. I suppose I may have removed a user that
responded that I didn’t recognize as part of the ticket but can’t say
for certain.

Mathew Snyder