Hi Nils,

But then what is the purpose of this parameter please ?
        $Self->{'Ticket::Frontend::CustomerTicketZoom'}->{'StateDefault'}

The code in CustomerTicketZoom.pm refers to :
        $StateSelected{Selected} = $Self->{Config}->{StateDefault},
so it seems the good one.


This one is for New tickets only :
# CustomerDefaultState
# (default state of new customer tickets)
$Self->{CustomerDefaultState} = 'new';

but for followup default state selected, what is the good one then ?

# PostmasterFollowUpState
# (The state if a ticket got a follow up.) [default: open]
$Self->{PostmasterFollowUpState} = 'open';

This one is also obscur ... Default = open, so it can't be the one we're searching for :(

If anyone have an idea, I will be glad because it seems a little bit unclear to me now ...

BR,

Laurent Minost



Le jeudi 30 août 2007 à 15:40 +0200, Nils Breunese (Lemonbit) a écrit :
Keith G Holub wrote:

> Yes I can confirm this behavior.  If I create a test ticket in the
> customer interface, and then zoom on that ticket, the Next State  
> default
> is "Closed Successfull"
>
> looking at my sysconfig,
> Ticket::Frontend::CustomerTicketZoom###StateDefault: is set to open

There are a lot different defaults and I believe you are mixing up  
some. I believe that for instance the StateDefault is the default  
state for new tickets, not the default *next* state. The next state  
default is used for notes and other things that are added after the  
creation of the ticket. See the docs: <http://doc.otrs.org/2.2/en/ 
html/c1735.html>

Nils Breunese.


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/