Free Fields in AgentPhone and AgentEmail in 1.2.x branch

Hi all, I currently use 1.2.3 with some change: To close BUG 198 I use Kernel/System/CustomerUser/LDAP.pm 1.20 To have Free Fields in Customer new ticket form (CustomerMessage) I use Kernel/Output/HTML/Standard/CustomerMessageNew.dtl v1.10 and Kernel/Modules/CustomerMessage.pm to revision 1.27. (This tips have been given in a thread on otrs@otrs.org mailling list) This tips cause a bug when customer try to create ticket via web interface (http://lists.otrs.org/pipermail/otrs/2004-April/004717.html) At the momment I have found no solution to this. To help developpers this is the trace in apache error log: ERROR: OTRS-CGI-CRI-954 Perl: 5.8.0 OS: linux Time: Mon Apr 26 15:43:00 2004, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Message: Need ID or Name!, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Traceback (26587): , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::System::State::StateGet (v1.7) Line: 81, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::System::Ticket::CreateTicketDB (v1.70) Line: 227, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::Modules::CustomerMessage::Run (v1.27) Line: 274, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: /applis/Internet/otrs-cvs/bin/cgi-bin/customer.pl (v1.24) Line: 691, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage ERROR: OTRS-CGI-CRI-954 Perl: 5.8.0 OS: linux Time: Mon Apr 26 15:43:00 2004, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Message: No StateID!!!, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Traceback (26587): , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::System::Ticket::CreateTicketDB (v1.70) Line: 235, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::Modules::CustomerMessage::Run (v1.27) Line: 274, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: /applis/Internet/otrs-cvs/bin/cgi-bin/customer.pl (v1.24) Line: 691, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage ERROR: OTRS-CGI-CRI-954 Perl: 5.8.0 OS: linux Time: Mon Apr 26 15:43:00 2004, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Message: Need TicketID!, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Traceback (26587): , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::System::Ticket::Article::CreateArticle (v1.52) Line: 41, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: Kernel::Modules::CustomerMessage::Run (v1.27) Line: 288, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage Module: /applis/Internet/otrs-cvs/bin/cgi-bin/customer.pl (v1.24) Line: 691, referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage , referer: http://myserver/otrs-cvs/customer.pl?Action=CustomerMessage In addition I would like to have free fields on AgentPhone and AgentEmail. Is there a little hack to have complete free fields support or I must use CVS HEAD to have this ? Yann -- o--------------------------------------------------------------o | Yann Richard | | GPG FingerPrint: | .oO| A2F4 1EFB 66B6 65F8 1093 E11A 3E0A 9DF6 72E7 DE9E | `--------------------------------------------------------------o

Hi Yann, On Mon, Apr 26, 2004 at 03:50:57PM +0200, Yann RICHARD wrote:
I currently use 1.2.3 with some change: [...] In addition I would like to have free fields on AgentPhone and AgentEmail.
Just remove the # in Kernel/Output/HTML/Standard/AgentPhoneNew.dtl and Kernel/Output/HTML/Standard/AgentEmailNew.dtl for free fields.
Is there a little hack to have complete free fields support or I must use CVS HEAD to have this ?
It should already work fine with OTRS 1.2 Agent-Interface.
Yann
-- o--------------------------------------------------------------o | Yann Richard | | GPG FingerPrint: | .oO| A2F4 1EFB 66B6 65F8 1093 E11A 3E0A 9DF6 72E7 DE9E | `--------------------------------------------------------------o
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Mon, 26 Apr 2004 16:20:56 +0200
Martin Edenhofer
Hi Yann,
On Mon, Apr 26, 2004 at 03:50:57PM +0200, Yann RICHARD wrote:
I currently use 1.2.3 with some change: [...] In addition I would like to have free fields on AgentPhone and AgentEmail.
Just remove the # in Kernel/Output/HTML/Standard/AgentPhoneNew.dtl and Kernel/Output/HTML/Standard/AgentEmailNew.dtl for free fields.
... I think I need vacation.... However I returns from 15 days of holidays.. I don't understand... Oh yes .. I'm stupid :)
Is there a little hack to have complete free fields support or I must use CVS HEAD to have this ?
It should already work fine with OTRS 1.2 Agent-Interface.
Yann -- o--------------------------------------------------------------o | Yann Richard | | GPG FingerPrint: | .oO| A2F4 1EFB 66B6 65F8 1093 E11A 3E0A 9DF6 72E7 DE9E | `--------------------------------------------------------------o

On Mon, 26 Apr 2004 15:50:57 +0200
Yann RICHARD
Hi all,
I currently use 1.2.3 with some change:
To close BUG 198 I use Kernel/System/CustomerUser/LDAP.pm 1.20
To have Free Fields in Customer new ticket form (CustomerMessage) I use Kernel/Output/HTML/Standard/CustomerMessageNew.dtl v1.10 and Kernel/Modules/CustomerMessage.pm to revision 1.27. (This tips have been given in a thread on otrs@otrs.org mailling list) This tips cause a bug when customer try to create ticket via web interface (http://lists.otrs.org/pipermail/otrs/2004-April/004717.html) At the momment I have found no solution to this.
I have found why I get Need TicketID Error when customer try to open ticket via the web interface so I resume here the way to have Free field support on Customer Interface: 1- Replace Kernel/Output/HTML/Standard/CustomerMessageNew.dtl with revision 1.10 2- Replace Kernel/Modules/CustomerMessage.pm with revision 1.27 3- Add to Config.pm theirs line: # CustomerDefaultState # (default state of new customer tickets) $Self->{CustomerDefaultState} = 'new'; It's this third step who have caused the error. This setting have been added in the revision 1.113 of the Kernel/Config/Default.pm. Regard, Yann -- o--------------------------------------------------------------o | Yann Richard | | GPG FingerPrint: | .oO| A2F4 1EFB 66B6 65F8 1093 E11A 3E0A 9DF6 72E7 DE9E | `--------------------------------------------------------------o
participants (2)
-
Martin Edenhofer
-
Yann RICHARD