Fehler - Tickets beantworten

"Josef Penzkofer" <[email protected]>
Newsgroups gmane.comp.otsr.user.german
Message-ID <[email protected]>
Hallo Liste,

das Problem, Tickets zu beantworten besteht immer noch.
Im Apache-Logfile gibts die Meldung:
[Wed Sep 21 08:31:04 2016] 
-e: Use of uninitialized value $FirstElementIndex in splice at
/opt/otrs//Kernel/Output/HTML/LayoutTicket.pm line 279.
[Wed Sep 21 08:38:00 2016] 
-e: 	(in cleanup) Can't call method "Get" on an undefined value at
/opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
[Wed Sep 21 08:38:00 2016] 
[error] \t(in cleanup) Can't call method "Get" on an undefined value at
/opt/otrs//Kernel/System/AuthSession/DB.pm line 583.\n

Im Bereich
/opt/otrs//Kernel/Output/HTML/LayoutTicket.pm line 279.
steht die Funktion
# get StandardResponsesStrg
  my %ReverseQueueDataHash = reverse %QueueDataHash;
  my @QueueDataArray       = map {
   {
    Key   => $ReverseQueueDataHash{$_},
     Value => $_
     }
    } sort values %QueueDataHash;

# find index of first element in array @QueueDataArray for displaying in
frontend
# at the top should be element with ' $QueueDataArray[$_]->{Key} = 0' like "-
Move -"
# when such element is found, it is moved at the top
   my ($FirstElementIndex) = grep $QueueDataArray[$_]->{Key} == 0, 0 ..
$#QueueDataArray;
  splice( @QueueDataArray, 0, 0, splice( @QueueDataArray, $FirstElementIndex,
1 ) );
   $Param{Data} = \@QueueDataArray;

Im Bereich 
/opt/otrs//Kernel/System/AuthSession/DB.pm line 583.
steht die Funktion
sub DESTROY {
...
Zeile 583
    # get database object
    my $DBObject = $Kernel::OM->Get('Kernel::System::DB');


Wenn ich das richtig deute, dann will die Funktion "Destroy" ja den Cache
wieder "aufräumen".

Das schlägt dann wahrscheinlich fehl wegen dem 
Use of uninitialized value $FirstElementIndex in splice 

Oder?

Kann das jemand bestätigen oder meine Aussage korrigieren?

Vielen Dank

Gruß

Sepp

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.