<br><br><div class="gmail_quote">2013/3/24 Patrick G. Stoesser <span dir="ltr"><<a href="mailto:lists@pgs-info.de" target="_blank">lists@pgs-info.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks everybody. Last night, I had to reboot the machine, and since then, it works.<br>
<br>
Thomas, the return action is only wanted when tickets are new and open, that's right, and so I tested.<br>
<br>
I don't have a clue why it didn't work an now works. A possoble answer could be that I could have forgotten to do an "update-rt-siteconfig-4", but this is only an idea.<br>
<br>
After all, one can say that custom statuses work as described in the wiki including menu.<br>
<br>
Kind regards, Patrick<br>
<br>
<br>
Am 22.03.2013 15:55, schrieb Patrick G. Stoesser:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello there,<br>
<br>
I'm running RT4 on Debian Squeeze, everything fine so far.<br>
<br>
I have set up a custom status, according to<br>
<<a href="http://requesttracker.wikia.com/wiki/CustomStatusesInRt4" target="_blank">http://requesttracker.wikia.<u></u>com/wiki/CustomStatusesInRt4</a>>. Works fine<br>
also.<br>
<br>
I run two queues, Level1 and Level2. My Level2 users now have a custom<br>
status "returned". When chosing this status for a ticket, the ticket<br>
will change the queue to Level1, will be set to unowned and escalations<br>
will be reste to the beginning. This whole thing works fine.<br>
<br>
What does not work: The action (set the ticket's status to returned)<br>
does not show up at the page action menu (quicklinks depending on the<br>
current ticket's status like Reply Comment Forward Stall Resolve Reject<br>
Extract Article.<br>
<br>
My cumstom section:<br>
<br>
#Custom Status<br>
Set(%Lifecycles,<br>
default => {<br>
initial => [ 'new' ],<br>
active => [ 'open', 'stalled', 'returned' ],<br>
inactive => [ 'resolved', 'rejected', 'deleted' ],<br>
defaults => {<br>
on_create => 'new',<br>
on_merge => 'resolved',<br>
approved => 'open',<br>
denied => 'rejected',<br>
reminder_on_open => 'open',<br>
reminder_on_resolve => 'resolved',<br>
},<br>
<br>
transitions => {<br>
'' => [qw(new open resolved)],<br>
<br>
# from => [ to list ],<br>
new => [qw(open stalled returned resolved rejected<br>
deleted)],<br>
open => [qw(new stalled returned resolved rejected<br>
deleted)],<br>
stalled => [qw(new open rejected returned resolved deleted)],<br>
returned => [qw(new open stalled rejected deleted)],<br>
resolved => [qw(new open stalled rejected deleted)],<br>
rejected => [qw(new open stalled returned resolved deleted)],<br>
deleted => [qw(new open stalled rejected resolved)],<br>
},<br>
rights => {<br>
'* -> deleted' => 'DeleteTicket',<br>
'* -> *' => 'ModifyTicket',<br>
},<br>
<br>
actions => [<br>
'new -> open' => {<br>
label => 'Open It', # loc<br>
update => 'Respond',<br>
},<br>
'new -> resolved' => {<br>
label => 'Resolve', # loc<br>
update => 'Comment',<br>
},<br>
'new -> rejected' => {<br>
label => 'Reject', # loc<br>
update => 'Respond',<br>
},<br>
'new -> deleted' => {<br>
label => 'Delete', # loc<br>
},<br>
'new -> returned' => {<br>
label => 'Return', # loc<br>
},<br>
'open -> stalled' => {<br>
label => 'Stall', # loc<br>
update => 'Comment',<br>
},<br>
'open -> resolved' => {<br>
label => 'Resolve', # loc<br>
update => 'Comment',<br>
},<br>
'open -> rejected' => {<br>
label => 'Reject', # loc<br>
update => 'Respond',<br>
},<br>
'open -> returned' => {<br>
label => 'Return', # loc<br>
},<br>
'stalled -> open' => {<br>
label => 'Open It', # loc<br>
},<br>
'resolved -> open' => {<br>
label => 'Re-open', # loc<br>
update => 'Comment',<br>
},<br>
'rejected -> open' => {<br>
label => 'Re-open', # loc<br>
update => 'Comment',<br>
},<br>
'deleted -> open' => {<br>
label => 'Undelete', # loc<br>
},<br>
],<br>
},<br>
<br>
<br>
Any ideas anyone?<br>
<br>
Thanks in advance and kind regards, Patrick<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>Hi,<div><br></div><div>I believe it didn't work because of the object cache, next time when editing things in the SiteConfig do the following for restarting RT:</div><div><br></div>
<div># Asuming this is what the command looks like for you ^_~</div><div><br></div><div>service apache2 stop</div><div>rm -rf /opt/rt4/var/mason_data/obj/*</div><div>service apache2 start</div><div><br></div><div>After that changes should be visible. (do the same when you add extensions, add callbacks or anything that would somehow change the UI).<br clear="all">
<div><br></div>-- <br>Bart G.
</div>