Hallo zusammen,

ich wollte Testweiße den Verantwortlichen mit Hilfe eines Triggers setzen, so 
dass eine bestimmte Person der Verantwortliche ist.
Mein Trigger sieht wie folgt aus:

/*Setzt den Default Verantwortlichen */
create trigger set_responsible AFTER INSERT ON ticket
                FOR EACH ROW UPDATE ticket SET responsible_user_id = 4  WHERE 
ticket.id = NEW.id

Doch erzeuge ich dann ein neues Ticket bekomme ich folgende Meldung:
Fehler: Need TicketID!
Kommentar:
Traceback:
ERROR: OTRS-CGI-30 Perl: 5.12.3 OS: MSWin32 Time: Wed Aug 17 12:52:50 2011

Message: Need TicketID!

Traceback (1672):
   Module: Kernel::System::Ticket::Article::ArticleCreate (v1.274.2.2) Line: 118
   Module: Kernel::Modules::CustomerTicketMessage::Run (v1.83.2.1) Line: 529
   Module: Kernel::System::Web::InterfaceCustomer::Run (v1.56.2.5) Line: 986
   Module: 
ModPerl::ROOT::ModPerl::Registry::C_3a_Programme_OTRS_OTRS_bin_cgi_2dbin_customer_2epl::handler
 (unknown version) Line: 46
   Module: (eval) (v1.43.2.1) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.43.2.1) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.43.2.1) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31


Woran kann das liegen?


Mit freundlichen Grüßen
Sebastian Hansen

________________________________
ikado GmbH
Auf der Hüls 198
D-52068 Aachen
Tel +49 (0) 241 - 18294-0
Fax +49 (0) 241 - 18294-40
Mail: shan...@ikado.de<mailto:shan...@ikado.de>
Web: www.ikado.de<http://www.ikado.de/>

Gerichtsstand Aachen, HR B 4207
Geschäftsführer: Michael Lingen
________________________________
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden

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