[rt-users] [Solved] rt-shredder problems

2015-02-16 Thread Sternberger, Sven
The problem is a entry in Links with the Target NULL
so delete from Links where Target is NULL;
helped


- Ursprüngliche Mail -
 Von: Sternberger, Sven sven.sternber...@desy.de
 An: rt-users rt-users@lists.bestpractical.com
 Gesendet: Montag, 9. Februar 2015 15:16:46
 Betreff: [rt-users] rt-shredder problems

 Hello!
 
 i have a cron job which purges deleted tickets if they are older than 6 month.
 this worked for quite a long time but for a week I get an error message
 Tickets will be deleted nevertheless. I also ran rt-validator.
 
 Message:
 Couldn't wipeout object: Can't call method IsLocal on an undefined value at
 /opt/rt4/sbin/../lib/RT/URI.pm line 262.
 
 This is my cmd line:
 /opt/rt4/sbin/rt-shredder --force --sqldump /tmp/backup.ticket6 --plugin
 Tickets=query,Status ='deleted' AND LastUpdated  '-6 Month';limit,100
 
 Any idea what is going wrong
 
 regards
 
 Sven Sternberger
 System Engineer
 Tel.: 040/8998-4397
 DESY IT


Re: [rt-users] local directory customization ignored for ShowSummary ?

2015-02-16 Thread Christian Loos
Am 11.02.2015 um 18:23 schrieb Arnaud Abélard:
 I created the new directory path
 /opt/rt4/local/share/html/Ticket/Elements/ and copied there the original
 file /opt/rt4/share/html/Ticket/Elements/ShowSummary. Made my change,
 cleared the mason cache, restarted apache and the changes are just ignored.

The correct path for your modified file is:
/opt/rt4/local/html/Ticket/Elements/ShowSummary

Chris


[rt-users] _Safely_ adding watchers from Cc

2015-02-16 Thread Edheldil
Hi all,

I need to add Cc's from incoming emails as watchers to the created
tickets. I have already tried the ParseNewMessageForTicketCcs
http://requesttracker.wikia.com/wiki/ParseNewMessageForTicketCcs
config option, but the result was an epic mail loop when somebody
happened to send a Christmas greeting to some thousand of Cc: emails.

Is there a safer way to achieve that? Something like 'do not send any
emails when creating tickets, just when somebody comments'. There are
many queues in our RT, so I do not exactly want to redo shared scrips
for all queues, but so far that's is the only option I can think of.

Any ideas?

Ed.