Good morning,
When a Subject follow-up is triggered over a merged ticket its return a TicketID from merged ticket not from linked ticket, it is a bug?.
I check over the configuration I cant't find how to change this, if I change de Subject.pm follow-up to return de TicketID of a linked ticked instead of a merged ticket it will cause a failure in other aspect of OTRS 6.x?
Follow-up over merged Ticket
Moderator: crythias
-
- Znuny newbie
- Posts: 8
- Joined: 04 Feb 2019, 21:48
- Znuny Version: 6.0.16
- Real Name: Hugo Camilo Robayo Ayala
- Company: Aduana
Re: Follow-up over merged Ticket
I get the trace over the error, in this part of the code in Ticket.pm function TicketCheckNumber
This line do not the job (in otrs-6.0.16-01.noarch version)
if ( $Data->{Name} =~ /^.*%%\d+?%%(\d+?)$/ ) {
With this data
%%2019-036839%%679860%%2019-027992%%671012
It fails..
This line do not the job (in otrs-6.0.16-01.noarch version)
if ( $Data->{Name} =~ /^.*%%\d+?%%(\d+?)$/ ) {
With this data
%%2019-036839%%679860%%2019-027992%%671012
It fails..
-
- Znuny newbie
- Posts: 8
- Joined: 04 Feb 2019, 21:48
- Znuny Version: 6.0.16
- Real Name: Hugo Camilo Robayo Ayala
- Company: Aduana
Re: Follow-up over merged Ticket
The error is because we create another Ticket Number Format YEAR-COUNTER, now with this change at Tickte.pm TicketCheckNumber function it works fine...
if ( $Data->{Name} =~ /^.*%%\d{4,10}-\d{1,40}%%(\d+?)$/ ) {
if ( $Data->{Name} =~ /^.*%%\d{4,10}-\d{1,40}%%(\d+?)$/ ) {
Re: Follow-up over merged Ticket
if you fiddle around with the code, this was to be expected...
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com