Hi,
to found a solution for my problem I've searched the code and maybe
found a bug.
In Kernel/System/Ticket.pm you will find the function TicketCreate.
Shortly before the comment "# TypeID/Type lookup!" you will see:
<snip>
if (!$Param{TypeID}) {
$Param{TypeID} = 1;
}
</snip>
This check should be moved behind the if-else statement.
Hope that helps.
Daniel
Am Mittwoch, den 18.07.2007, 16:50 +0200 schrieb Daniel Wedewardt:
> Hello @all,
>
> sorry for the double post, I've send this question to otrs-de a hour
> ago. But, to have a greater response group, I decided to ask the same
> question in english.
>
> Before I've written this mail, I've googled and searched the
> Mailinglistarchive. Sadly without success.
>
> I'd like to send an mail from a webform to otrs 2.2. To have a better
> pre-sort, I send some additional X-OTRS Header:
>
> <snip>
> $mailheader.= "\r\n"."X-OTRS-Type: 4";
> $mailheader.= "\r\n"."X-OTRS-SenderType: system";
> $mailheader.= "\r\n"."X-OTRS-ArticleType: webrequest";
> ...
> $mailheader.= "\r\n"."X-OTRS-TicketKey8: Category (Info)";
> $mailheader.= "\r\n"."X-OTRS-TicketValue8: info_cat1";
> $mailheader.= "\r\n"."X-OTRS-TicketKey10: Platform";
> $mailheader.= "\r\n"."X-OTRS-TicketValue10: PC";
> </snip>
>
> After receiving the send mail via fetchmail and forwarding the mail to
> bin/PostMaster.pl via procmail, I can see the Mail as an Ticket in OTRS.
> All X-OTRS Header fields are imported expect the X-OTRS-Type Field (I
> can see the field key/value in ticket table in otrs database). The
> Mailadresse is set to "valid", otherwise the other X-OTRS Header fields
> wouldn't be imported.
>
> Within X-OTRS-Manual I've found a hint, that Ticket::Type should be
> active ("if Ticket::Type support is active"). I greped for Ticket::Type
>
> <snip>
> Kernel/Config/Files/ZZZAuto.pm:$Self->{'Ticket::Type'} = '1';
> Kernel/Config/Files/Ticket.xml: <ConfigItem Name="Ticket::Type"
> Required="1" Valid="1">
> </snip>
>
> Does any one know this problem?
> Thanks for any help!!!
>
>
> Daniel
>
> _______________________________________________
> 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
> Support or consulting for your OTRS system?
> => http://www.otrs.com/
_______________________________________________
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
Support or consulting for your OTRS system?
=> http://www.otrs.com/