[30091] [Wed Jun 1 09:13:03 2016] [critical]: Couldn’t create ticket groups for ticket 133221. aborting Ticket creation. (/opt/rt4/sbin/…/lib/RT/Ticket.pm:444)
[30091] [Wed Jun 1 09:13:03 2016] [crit]: Ticket creation failed: I: AGG MAGGIO 2016.xlsx: Ticket could not be created due to an internal error (/opt/rt4/sbin/…/lib/RT/Interface/Email.pm:
697)
I am having difficulty understanding where the problem is (what’s the meaning of “ticket groups”?) and hence how to solve it.
[30091] [Wed Jun 1 09:13:03 2016] [critical]: Couldn’t create ticket groups for ticket
133221. aborting Ticket creation. (/opt/rt4/sbin/…/lib/RT/Ticket.pm:444)
[30091] [Wed Jun 1 09:13:03 2016] [crit]: Ticket creation failed: I: AGG MAGGIO 2016.xlsx:
Ticket could not be created due to an internal error (/opt/rt4/sbin/…/lib/RT/Interface/Email.pm:
697)
This is the first we’ve seen of this error. If you can send over a stack trace that will help track it down. Adding this to your site config will do so:
Set($LogStackTraces, “error");
I am having difficulty understanding where the problem is (what’s the meaning of “ticket
groups”?) and hence how to solve it.
Ticket groups are the groups that contain AdminCcs, Ccs, Requestors, etc.
Please help!!!
Do you have any customizations? Which extensions are installed? And which database are you on?
I’m running 4.4.0 too and also an upgrade from but from 4.0.X but I
can’t get to show status in color.
I had the extended_status coloring from the wiki but that doesn’t work
anymore. I had a quick look but at the moment I’m swamped by other stuff
than RT
I still have colored priority labels, but the status label isn’t colored anymore starting from 4.0.x.
As I’m swamped, too, I don’t have the time to remove that customization since it seems it doesn’t do any harm besides being non-functional.
CrisIl lunedì 6 giugno 2016 alle 10:56:06 CEST, Joop ha scritto:
On 6-6-2016 10:09, Guadagnino Cristiano wrote:
Plus, I have a few customizations:
show status and priority in color
Thats interesting
I’m running 4.4.0 too and also an upgrade from but from 4.0.X but I can’t get to show status in color.
I had the extended_status coloring from the wiki but that doesn’t work anymore. I had a quick look but at the moment I’m swamped by other stuff than RT
I just finished rewriting the show status in color to work with RT 4.4.2. I ended up converting the inline CSS to inline style instead. Here is the working code that needs to be called Once in the same location as before. Note: None of the *.css file changes are needed now because I have rolled up their content into the Once file. Here is the path to the file I am using:
my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress;
my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString;
my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString;
my $CurrentUser = $session{'CurrentUser'}->EmailAddress;
# Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the last updater is the current user.
if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~ $LastUpdater) || ($TicketCC =~ $LastUpdater))
{
my $txn = $Ticket->SeenUpTo or return \"<div style=\"$style{$status}\">$status</div>";
# my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id;
# Comment out the line above and uncomment the following line to mark posts as seen when following link.
my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1&Anchor=txn-" . $txn->id;
$status = "<div style=\"$style{$status}\">$status <a href=\"$TicketLink\"><span style=\"$style{'reply'}\">New Reply</span></a></div>";
}
else {
$status = "<div style=\"$style{$status}\">$status</div>";
}
return \"$status";
}
Show extended status in colour. This will change the front page and other search pages where the ExtendedStatus is displayed.
sub extStatusInColor {
my $Ticket = shift;
if ( my $count = $Ticket->HasUnresolvedDependencies ) {
my $status;
my $LastUpdater = $Ticket->LastUpdatedByObj->EmailAddress;
my $TicketRequestors = $Ticket->Requestors->MemberEmailAddressesAsString;
my $TicketCC = $Ticket->Cc->MemberEmailAddressesAsString;
my $CurrentUser = $session{'CurrentUser'}->EmailAddress;
# Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the last updater is the current user.
if ( defined $LastUpdater )
{
if (($CurrentUser ne $LastUpdater) && ($TicketRequestors =~ "\Q$LastUpdater\E") || ($TicketCC =~ "\Q$LastUpdater\E"))
{
my $txn = $Ticket->SeenUpTo or return \"<div style=\"$style{$status}\">$status</div>";
# my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id. "#txn-".$txn->id;
# Comment out the line above and uncomment the following line to mark posts as seen when following link.
my $TicketLink = RT->Config->Get('WebPath') ."/Ticket/Display.html?id=". $Ticket->id ."&MarkAsSeen=1&Anchor=txn-" . $txn->id;
$status = "<div style=\"$style{$status}\">$status <a href=\"$TicketLink\"><span style=\"$style{'reply'}\">New Reply</span></a></div>";
}
else {
$status = "<div style=\"$style{$status}\">$status</div>";
}
}
else {
$status = "<div style=\"$style{$status}\">$status</div>";
}
return \"$status";
}
Show extended status in colour. This will change the front page and other search pages where the ExtendedStatus is displayed.
sub extStatusInColor {
my $Ticket = shift;
if ( my $count = $Ticket->HasUnresolvedDependencies ) {
my $status;