Re: [rt-users] ticket created from CLI script with wrong Due date; timezone issue?
There's an error in the code I posted earlier. I'm actually creating the ticket like this: $ticket->Create( Queue => '', Subject => '', Due => $due_date->ISO( Timezone => 'UTC' ), ); -- RT Training - Boston, September 9-10 http://bestpractical.com/training
[rt-users] ticket created from CLI script with wrong Due date; timezone issue?
I have the following code being run by a cron job to create a ticket every Tuesday at 11am (Australia/Melbourne) with a due date of Wednesday at 11am (also Australia/Melbourne, so 24 hours later): use RT (); use RT::Date (); use RT::Interface::CLI (); use RT::Ticket (); RT::Interface::CLI::CleanEnv; RT::LoadConfig; RT::Init; my $due_date = RT::Date->new($RT::SystemUser); $due_date->Set( Value => '11am Wednesday', Format => 'unknown', ); my $ticket = RT::Ticket->new($RT::SystemUser); $ticket->Create( Queue => '', Subject => '', Due => $due_date, ); The ticket is created at 11am Tuesday (as expected), with a Due time of 11am Tuesday (not expected--should be 11am Wednesday). What am I doing wrong? It looks like something could be wrong in the way RT::Date calls Time::ParseDate: $ grep '11am Wednesday' rt-debug.log ... [debug]: RT::Date used Time::ParseDate to make '11am Wednesday' 1402362000 (.../RT/Date.pm:240) $ TZ=Australia/Melbourne perl -e 'warn scalar localtime(1402362000)' Tue Jun 10 11:00:00 2014 at -e line 1. I'm running RT v4.2.3 at the moment with the latest version of Time::ParseDate at this time (v2013.1113). RT configuration variable $Timezone is set to 'Australia/Melbourne'. For what it's worth, the server running the cron job has its timezone set to 'America/Los_Angeles', but as the cron job fires at the correct time, I don't think this contributes to the problem. -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Request Tracker fails to search articles
IT Guy wrote: I recently imported around 2500 articles to Request Tracker. I can view any article individually by clicking its link, but when I try to search through the articles, I get 500 Internal Server Error. This did not happen when I had fewer articles, so I assume that it's a probably with the amount of data I have. Is there a way to fix this? Find out if there are any more specific log entries in either apache logs or your database. I had problems a couple of days ago and the log showed that I had a faulty database query. Joop -- RT Training - Boston, September 9-10 http://bestpractical.com/training
[rt-users] Request Tracker fails to search articles
I recently imported around 2500 articles to Request Tracker. I can view any article individually by clicking its link, but when I try to search through the articles, I get 500 Internal Server Error. This did not happen when I had fewer articles, so I assume that it's a probably with the amount of data I have. Is there a way to fix this? -- View this message in context: http://requesttracker.8502.n7.nabble.com/Request-Tracker-fails-to-search-articles-tp57620.html Sent from the Request Tracker - User mailing list archive at Nabble.com. -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Top menu Aileron theme disappear when using custom theme
Hello, I tried by starting a fresh install and still the same problem. I do not understand at all ;-) AL -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Top menu Aileron theme disappear when using custom theme
Hello, Some news from searches! It looks that the problem comes from jQuery that cannot be find properly. Thanks for your help. AL -- RT Training - Boston, September 9-10 http://bestpractical.com/training