
I just upgraded to v1.1.1 today - any thoughts on what causes this error when PostMasterPOP3.pl is run from cron? Thanks, Bryan Begin forwarded message:
ERROR: OTRS-PM3-10 Perl: 5.6.1 OS: freebsd Time: Sat May 3 19:40:02 2003
Message: No TypeID for StateUpdate found!
Traceback (93443): Module: Kernel::System::Ticket::History::HistoryTypeLookup (v1.7) Line: 49 Module: Kernel::System::Ticket::History::AddHistoryRow (v1.7) Line: 74 Module: Kernel::System::Ticket::State::SetState (v1.14) Line: 174 Module: Kernel::System::PostMaster::FollowUp::Run (v1.27) Line: 138 Module: Kernel::System::PostMaster::Run (v1.31) Line: 204 Module: main::FetchMail (v1.9) Line: 168 Module: /usr/local/otrs/bin/PostMasterPOP3.pl (v1.9) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.6.1 OS: freebsd Time: Sat May 3 19:40:02 2003
Message: Need HistoryTypeID!
Traceback (93443): Module: Kernel::System::Ticket::History::AddHistoryRow (v1.7) Line: 82 Module: Kernel::System::Ticket::State::SetState (v1.14) Line: 174 Module: Kernel::System::PostMaster::FollowUp::Run (v1.27) Line: 138 Module: Kernel::System::PostMaster::Run (v1.31) Line: 204 Module: main::FetchMail (v1.9) Line: 168 Module: /usr/local/otrs/bin/PostMasterPOP3.pl (v1.9) Line: 106

Addendum... I seem to only get this error when someone sends an email that adds to a ticket from 1.0.x. Maybe the upgrade process needs to add something to existing tickets? Thanks, Bryan On Saturday, May 3, 2003, at 20:25 Canada/Eastern, Bryan Fullerton wrote:
I just upgraded to v1.1.1 today - any thoughts on what causes this error when PostMasterPOP3.pl is run from cron?
Thanks,
Bryan
Begin forwarded message:
ERROR: OTRS-PM3-10 Perl: 5.6.1 OS: freebsd Time: Sat May 3 19:40:02 2003
Message: No TypeID for StateUpdate found!
Traceback (93443): Module: Kernel::System::Ticket::History::HistoryTypeLookup (v1.7) Line: 49 Module: Kernel::System::Ticket::History::AddHistoryRow (v1.7) Line: 74 Module: Kernel::System::Ticket::State::SetState (v1.14) Line: 174 Module: Kernel::System::PostMaster::FollowUp::Run (v1.27) Line: 138 Module: Kernel::System::PostMaster::Run (v1.31) Line: 204 Module: main::FetchMail (v1.9) Line: 168 Module: /usr/local/otrs/bin/PostMasterPOP3.pl (v1.9) Line: 106
ERROR: OTRS-PM3-10 Perl: 5.6.1 OS: freebsd Time: Sat May 3 19:40:02 2003
Message: Need HistoryTypeID!
Traceback (93443): Module: Kernel::System::Ticket::History::AddHistoryRow (v1.7) Line: 82 Module: Kernel::System::Ticket::State::SetState (v1.14) Line: 174 Module: Kernel::System::PostMaster::FollowUp::Run (v1.27) Line: 138 Module: Kernel::System::PostMaster::Run (v1.31) Line: 204 Module: main::FetchMail (v1.9) Line: 168 Module: /usr/local/otrs/bin/PostMasterPOP3.pl (v1.9) Line: 106
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Bryan, On Sun, May 04, 2003 at 12:04:34PM -0400, Bryan Fullerton wrote:
Addendum... I seem to only get this error when someone sends an email that adds to a ticket from 1.0.x. Maybe the upgrade process needs to add something to existing tickets?
Thanks,
Bryan
[...] Message: No TypeID for StateUpdate found!
Traceback (93443): Module: Kernel::System::Ticket::History::HistoryTypeLookup (v1.7) Line: 49 Module: Kernel::System::Ticket::History::AddHistoryRow (v1.7) Line: 74 Module: Kernel::System::Ticket::State::SetState (v1.14) Line: 174 Module: Kernel::System::PostMaster::FollowUp::Run (v1.27) Line: 138 [...]
Normally not. But there is a missing entry in scripts/DBUpdate-to-1.1.postgresql.sql. :-/ Add this recorde to your otrs database and it will work. [...] INSERT INTO ticket_history_type (name, valid_id, create_by, create_time, change_by, change_time) VALUES ('StateUpdate', 1, 1, current_timestamp, 1, current_timestamp); [...] Sorry! Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972
participants (2)
-
Bryan Fullerton
-
Martin Edenhofer