5.0.21 ticket notification subject set via Config.pm doesn't work

Moderator: crythias

Post Reply
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

5.0.21 ticket notification subject set via Config.pm doesn't work

Post by Thomymaster »

Hi


I noticed (currently in a 5.0.21 installation but in the past also in 5.0.12) that when i tried to set the subject for a added note via Config.pm, this doesn't work:

#$Self->{'Ticket::Frontend::AgentTicketNote###Subject'} = 'added note';


If set via SysConfig it works

Frontend::Agent::Ticket::ViewNote ->
Ticket::Frontend::AgentTicketNote###Subject -> added note

Is this maybe a bug?

Best,
Thomas
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by jojo »

check the #
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by Thomymaster »

What do you mean? I cannot see a typo
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by zzz »

Hey,

no, it's not a bug since the Config.pm is not made for SysConfig changes.

Regards

PS: Thats' what jojo meant: http://people.cryst.bbk.ac.uk/~tickle/n ... ments.html
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by Thomymaster »

Ok but some values can be changed in Config.pm instead of SysConfig?!
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by zzz »

Thomymaster wrote:Ok but some values can be changed in Config.pm instead of SysConfig?!
The Config.pm is designed for system settings like database connections, LDAP etc.

If you're able to change something in the front end, you should do it. These settings get saved in the ZZZAuto.pm .
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by jojo »

Technically all changes which can be made in sysconfig can be added to the Config.pm but will not be changable via Sysconfig any more. So best way is to use sysconfig for the main config (besides the things which only can be made in Config files)


In the pasted code the line is commented and will not work because of this
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: 5.0.21 ticket notification subject set via Config.pm doesn't work

Post by Thomymaster »

Hi

Ok now i understood. Thanks! :)
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
Post Reply