[rt-users] RTx::Shredder Questions

Adolfo Santiago mailbag at anothernet.com
Thu Oct 7 15:35:30 EDT 2004


OK!  Reporting...

1.  Applying the patch generated the following reject file (which you
requested I ignore but I'm putting here just in case):

============================================================

***************
*** 387,394 ****
                           VALUE => 'ticket');
    }

-   # We never ever want to show deleted tickets
-   $self->SUPER::Limit(FIELD => 'Status' , OPERATOR => '!=', VALUE =>
'deleted'
);


    # set SB's dirty flag
--- 387,398 ----
                           VALUE => 'ticket');
    }

+   # We don't want deleted tickets unless 'allow_deleted_search' is set
+   unless( $self->{'allow_deleted_search'} ) {
+     $self->SUPER::Limit(FIELD => 'Status',
+                         OPERATOR => '!=',
+                         VALUE => 'deleted');
+   }


    # set SB's dirty flag
===============================================================

2.  The script seems to work just fine.  I ran it once and it told me the
number of tickets (3 in this case).  I answered "y" to delete them and it
created a bunch of entries in the logs.  Then I reran the script with the
same date and it said "Tickets list is empty."  So, I think we are good!

3.  WOW!!  Deleting 3 tickets generated 583 lines in the log file!!
Deleting ~450 tickets generated 10207 log lines.

4.  Bottom line: it seems to be working!!

5.  Just out of curiosity, what are all these entries in the log that I see?

[Thu Oct  7 19:32:14 2004] [warning]: RT::Principal-3959 deleted
(/opt/rt3/local
/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::CachedGroupMember-8830 deleted
(/opt/r
t3/local/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Group-3960 deleted
(/opt/rt3/local/lib
/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Principal-3960 deleted
(/opt/rt3/local
/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::CachedGroupMember-8831 deleted
(/opt/r
t3/local/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Group-3961 deleted
(/opt/rt3/local/lib
/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Principal-3961 deleted
(/opt/rt3/local
/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Attachment-1492 deleted
(/opt/rt3/loca
l/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Transaction-3286 deleted
(/opt/rt3/loc
al/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Transaction-3288 deleted
(/opt/rt3/loc
al/lib/RTx/Shredder/Record.pm:167)
[Thu Oct  7 19:32:14 2004] [warning]: RT::Ticket-838 deleted
(/opt/rt3/local/lib
/RTx/Shredder/Record.pm:167)

I can understand "Attachment" and "Ticket", but what are "Transaction",
"Group", "CachedGroupMember", etc?


Thanks!






More information about the rt-users mailing list