[OTRS 6] New ticket issue JS

Moderator: crythias

Locked
ruzzetto

[OTRS 6] New ticket issue JS

Post by ruzzetto »

Hello,
in my otrs 5 env I modified CustomerTicketMessage.tt file in order to fill ticket body with a formatted text based on specific service.

In my test env based on otrs 6 this does not happen. Someone is facing the same issue?

Thanks,
Fabio
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [OTRS 6] New ticket issue JS

Post by reneeb »

What did you modify? What's the error message?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ruzzetto

Re: [OTRS 6] New ticket issue JS

Post by ruzzetto »

I modified CustomerTicketMessage with this code:

Code: Select all

selectQueues();

function selectServices() {
        switch ($('#ServiceID').val() ) {

                 case  "xx":
                   initText('','text text text text text text')
                 case  "xx":
                   initText('',text text text text text text');
                 case  "xx":
                   initText('',text text text text text text');
                 case  "xx":
                    initText('',text text text text text text');
                   break;

with this small piece of code in my production env a new ticket with specific XX service is filled by "text text text text text text". After upgrade my testing env from 5 to 6 this code stopped to work.
ruzzetto

Re: [OTRS 6] New ticket issue JS

Post by ruzzetto »

nobody is encountering same issue moving to release 6?
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: [OTRS 6] New ticket issue JS

Post by wurzel »

Hi,

modifying code (espacially your code change) is not very common to do during migration.

Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: [OTRS 6] New ticket issue JS

Post by reneeb »

reneeb wrote: 06 Nov 2018, 20:59 What's the error message?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ruzzetto

Re: [OTRS 6] New ticket issue JS

Post by ruzzetto »

wurzel wrote: 09 Nov 2018, 15:13 Hi,

modifying code (espacially your code change) is not very common to do during migration.

Florian
Hi, I didn't touch code. Simply the same code does not work with new version
ruzzetto

Re: [OTRS 6] New ticket issue JS

Post by ruzzetto »

reneeb wrote: 09 Nov 2018, 15:42
reneeb wrote: 06 Nov 2018, 20:59 What's the error message?
No error message, simply code won't load and ticket body is empty and not filled with text.

Thanks
Locked