Hallo Liste

Ich habe hier ein OTRS 2.4.8, bei dem die Ticketansicht nicht funktioniert. 
Offensichtlich wirklich nur diese, also wenn der Agent auf den Link "Tickets". 
Dann kommt die Fehlermeldung

Can't use an undefined value as an ARRAY reference at 
../..//Kernel/Modules/AgentTicketQueue.pm line 237

In den Logs sieht es aus, als wenn er die StateIDs nicht findet:

---SCHNIPP---
[Error][Kernel::System::Ticket::TicketSearch][Line:3621]: The given param 
'StateIDs' is invalid or an empty array reference!

[Error][Kernel::System::Ticket::IndexAccelerator::RuntimeDB::TicketAcceleratorIndex][Line:99]:
 You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right 
syntax to use near ') AND  st.queue_id IN (5,6 )' at line 1, SQL: 'SELECT 
count(*) FROM ticket st WHERE  
st.ticket_state_id IN (  ) AND  st.queue_id IN (5,6 )'

[Error][Kernel::System::Ticket::IndexAccelerator::RuntimeDB::TicketAcceleratorIndex][Line:124]:
 You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right 
syntax to use near ') AND  st.ticket_lock_id IN ( 1, 3 ) AND  st.queue_id = 
sq.id AND  suq.queue_id ' 
at line 1, SQL: 'SELECT count(*) FROM ticket st, queue sq, personal_queues suq 
WHERE  st.ticket_state_id IN (  ) AND  st.ticket_lock_id IN ( 1, 3 ) AND  
st.queue_id = sq.id AND  
suq.queue_id = st.queue_id AND  sq.group_id IN ( 1, 6, 8, 4, 7, 5, 11, 3, 9, 
10, 12 ) AND  suq.user_id = 2'

[Error][Kernel::System::Ticket::IndexAccelerator::RuntimeDB::TicketAcceleratorIndex][Line:150]:
 You have an error in your SQL syntax; check the manual that corresponds to 
your 
MySQL server version for the right syntax to use near ') AND  st.ticket_lock_id 
IN ( 1, 3 ) AND  st.queue_id = sq.id AND  sq.group_id I' at line 1, SQL: 
'SELECT st.queue_id, 
sq.name, min(st.create_time_unix), count(*) FROM  ticket st, queue sq WHERE  
st.ticket_state_id IN (  ) AND  st.ticket_lock_id IN ( 1, 3 ) AND  st.queue_id 
= sq.id AND  sq.group_id 
IN ( 1, 6, 8, 4, 7, 5, 11, 3, 9, 10, 12 )  GROUP BY st.queue_id,sq.name  ORDER 
BY sq.name'
---SCHNAPP---

Man sollte dazu sagen, dass die Tickettypen geändert wurden, allerdings 
referenzieren sie laut vgl. der Tables ticket_state_type und ticket_state 
richtig, denn wenn ich das richtig sehe, wird ja nach type_id und nicht nach 
name in der ticket_state gesucht, oder?


Grüße
Klaus

---------------------------------------------------------------------
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

Antwort per Email an