Hello,
I have a problem with this piece of code :
my $ConfigObject = Kernel::Config->new();
my $LogObject = Kernel::System::Log->new(
ConfigObject => $ConfigObject,
);
my $TimeObject = Kernel::System::Time->new(
ConfigObject => $ConfigObject,
LogObject => $LogObject,
);
my $DBObject = Kernel::System::DB->new(
ConfigObject => $ConfigObject,
LogObject => $LogObject,
);
my $TicketObject = Kernel::System::Ticket->new (
ConfigObject => $ConfigObject,
LogObject => $LogObject,
DBObject => $DBObject,
TimeObject => $TimeObject,
);
Got no MainObject! at /opt/otrs/Kernel/System/Ticket.pm line 97, <PRODUCT>
line 4.
at /opt/otrs/Kernel/System/Ticket.pm line 97
Kernel::System::Ticket::new('Kernel::System::Ticket',
'ConfigObject', 'Kernel::Config=HASH(0x8eb16b0)', 'LogObject',
'Kernel::System::Log=HASH(0x8ee7998)', 'DBObject',
'Kernel::System::DB=HASH(0x8f6d258)', 'TimeObject',
'Kernel::System::Time=HASH(0x8fb54e8)', ...) called at ./spam.pl line 46
I read nothing about MainObject in the API. But, I found change in CVS in
september 2006 in file Ticket.pm. It is safe to upgrade this file on a 2.1.2
OTRS production
server ?
Regards.
Eric Boudrand
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev