David,

Some users may be referred to by transaction history of a ticket because they sent in corresponance or were the original requestor or owner. Those kind of relationships shouldn't be deleted because it will cause an error in yoiur history display.

Kenn
LBNL

On 10/14/2009 4:57 PM, David Hobley wrote:
All,

Having finally purged my db of deleted tickets, I am now trying to delete the users who now have no tickets assigned to them. However shredder is failing with rt 3.8.2:

[r...@samba sbin]# ./rt-shredder --plugin "Users=no_tickets,1;status,any;replace_relations,Nobody;limit,5"
SQL dump file is '/opt/httpd/rt3/sbin/20091014T232306-0001.sql'
Next objects would be deleted:
    RT::User-110031 object
    RT::User-1080297 object
    RT::User-911624 object
    RT::User-352 object
    RT::User-430 object
Do you want to proceed? [y/N] y
Couldn't wipeout object: Can't call method "new" on an undefined value at /opt/httpd/rt3/sbin/../lib/RT/Transaction_Overlay.pm line 1031, <STDIN> line 1.

Anyone any ideas?

--
Cheers,
David
------------------------------------------------------------------------

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

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


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Reply via email to