[SOLVED]TicketFreeKeys multiplying

Moderator: crythias

Locked
pekkaar
Znuny newbie
Posts: 41
Joined: 11 May 2010, 16:18
Znuny Version: 3.1.10
Location: Hungary

[SOLVED]TicketFreeKeys multiplying

Post by pekkaar »

Hi,

if I make use of a TicketFreeKey, fill out the proper fields in Ticket -> Core::TicketFreeText (and save the change), then I will have this TicketFreeKey (and its respective TicketFreeText) available in all GUI filters, for example in any NotificationEvent filters.

If at a later time I go back and modify this TicketFreeKey to something else, then I have both the previous TicketFreeKey value as well as this new one presented in a select list.

Here is TicketFreeKey2 in my SysConfig (Core::TicketFreeText):
TicketFreeKey_Cached_SingleKeyEntry.PNG
And here it is in my NotifEvent filter:
TicketFreeKey_Cached_InNotifEventFilter.PNG
How come the highlighted entry is still there when I only have a single Key/Content set up for TicketFreeKey2 in SysConfig?

I checked Kernel/Config/ and Kernel/Config/files and the old value is not in any of these.

I went in to /opt/otrs/var/tmp/Cache and CacheFileStorable and indeed found the old value cached. Thing is, neither otrs.DeleteCache.pl, nor a full system restart deletes this old value. Could this have been stored in the DB?

It is a cosmetic issue but it means that one can not modify a previously configured TicketFreeKey ?

Thanks for any hints!

Cheers,
Peter
You do not have the required permissions to view the files attached to this post.
Last edited by pekkaar on 09 Jan 2012, 15:41, edited 1 time in total.
otrs 4.0.3, mysql 5.5.15, Fedora r15
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: TicketFreeKeys multiplying

Post by jojo »

Is the old value stored in a ticket?
"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
pekkaar
Znuny newbie
Posts: 41
Joined: 11 May 2010, 16:18
Znuny Version: 3.1.10
Location: Hungary

Re: [SOLVED]TicketFreeKeys multiplying

Post by pekkaar »

Hi jojo,

indeed, there was a single record with this old value. By changing that I had the GUI work as I wished!

Thank you!

Regards,
Peter
otrs 4.0.3, mysql 5.5.15, Fedora r15
Locked