Fwd: Using getting stuck when choosing new Custom Lifecycle
Ben Pintilie <[email protected]> Tue, 14 Feb 2017 13:29:19 +0000
| Newsgroups | gmane.comp.bug-tracking.request-tracker.user |
|---|---|
| Message-ID | <CAGgD_U_U7hwheObV9rrpBLzDY=qiRRY_DST87Bd68yT89uy3hQ@mail.gmail.com> |
--f403045e6ef0edc95f05487d8ee8
Content-Type: text/plain; charset=UTF-8
Hi All,
Im having a strange issue, I know I have missed a step, but cant see
where. I have added in three new statuses, (aw-int aw-ext aw-qa) each new
status meaning "awaiting-xxx" I have carried out the update to
RT_SiteConfig.pm as usual. I have restarted RT and I can see the new
statuses. If any user or admin selects a status, it saves and reports
correctly. The issue is that we can not then change the status from any of
the new statuses to an original status. i.e. from aw-ext TO stalled.
The new statuses have been added like this:
Set(%Lifecycles,
default => {
initial => [ 'new' ],
active => [ 'open', 'aw-ext', 'aw-int', 'aw-qa', 'stalled'
],
<- AND HERE ->
# from => [ to list ],
new => [qw(open aw-ext aw-int aw-qa stalled resolved
rejected deleted)],
open => [qw(new aw-ext aw-int aw-qa stalled resolved
rejected deleted)],
stalled => [qw(new open aw-ext aw-int aw-qa rejected resolved
deleted)],
resolved => [qw(new open aw-ext aw-int aw-qa stalled rejected
deleted)],
rejected => [qw(new open aw-ext aw-int aw-qa stalled resolved
deleted)],
deleted => [qw(new open aw-ext aw-int aw-qa stalled rejected
resolved)],
aw-ext => [qw(new open aw-int aw-qa stalled rejected
resolved)],
aw-int => [qw(new open aw-ext aw-qa stalled rejected
resolved)],
aw-qa => [qw(new open aw-ext aw-int stalled rejected
resolved)],
<-AND HERE->
actions => [
'new -> open' => { label => 'Open It', update =>
'Respond' },
'new -> resolved' => { label => 'Resolve', update =>
'Comment' },
'new -> rejected' => { label => 'Reject', update =>
'Respond' },
'new -> deleted' => { label => 'Delete'
},
'open -> stalled' => { label => 'Stall', update =>
'Comment' },
'open -> resolved' => { label => 'Resolve', update =>
'Comment' },
'open -> rejected' => { label => 'Reject', update =>
'Respond' },
'open -> aw-ext' => { label => 'AW-ext', update => 'Comment' },
'open -> aw-int' => { label => 'AW-int', update =>
'Comment' },
'open -> aw-qa' => { label => 'AW-qa', update =>
'Comment' },
'aw-ext -> stalled' => { label => 'Stall', update =>
'Comment' },
'aw-ext -> resolved' => { label => 'Resolve', update =>
'Comment' },
'aw-ext -> rejected' => { label => 'Reject', update =>
'Respond' },
'aw-ext -> aw-int' => { label => 'AW-int', update =>
'Comment' },
'aw-ext -> aw-qa' => { label => 'AW-qa', update =>
'Comment' },
'aw-int -> stalled' => { label => 'Stall', update =>
'Comment' },
'aw-int -> resolved' => { label => 'Resolve', update =>
'Comment' },
'aw-int -> rejected' => { label => 'Reject', update =>
'Respond' },
'aw-int -> aw-ext' => { label => 'AW-ext', update => 'Comment' },
'aw-int -> aw-qa' => { label => 'AW-qa', update =>
'Comment' },
'aw-qa -> stalled' => { label => 'Stall', update =>
'Comment' },
'aw-qa -> resolved' => { label => 'Resolve', update =>
'Comment' },
'aw-qa -> rejected' => { label => 'Reject', update =>
'Respond' },
'aw-qa -> aw-ext' => { label => 'AW-ext', update => 'Comment' },
'aw-qa -> aw-int' => { label => 'AW-int', update =>
'Comment' },
'stalled -> open' => { label => 'Open It'
},
'resolved -> open' => { label => 'Re-open', update =>
'Comment' },
'rejected -> open' => { label => 'Re-open', update =>
'Comment' },
'deleted -> open' => { label => 'Undelete'
},
I have *NOT* Changed the approvals lifecycle
Can anyone point me to what I have missed, I know its human error, I just
cant see where!
Thanks
Ben
--
*T:* 01253 394911
*W:* blackpoolsixth.ac.uk
Blackpool Sixth, Blackpool Old Road, Blackpool, FY3 7LR
This email and any attachments are confidential and are intended solely for
the use of the individual to whom it is addressed. If you are not the
intended recipient of this email and its attachments, you must take no
action based upon them, nor must you copy or show them to anyone. Please
contact the sender if you believe you have received this email in error.
Emails are not secure and cannot be guaranteed to be free of errors or
viruses. It is your responsibility to scan emails and attachments for
viruses before opening them.
Any views or opinions expressed are solely those of the author and do not
necessarily represent those of The Blackpool Sixth Form College.
--f403045e6ef0edc95f05487d8ee8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div><div clas=
s=3D"m_7545717849729860061gmail_signature">Hi All,</div></div><div class=3D=
"m_7545717849729860061gmail_signature"><br></div><div class=3D"m_7545717849=
729860061gmail_signature">Im having a strange issue, I know I have missed a=
step, but cant see where.=C2=A0 I have added in three new statuses, (aw-in=
t aw-ext aw-qa) each new status meaning "awaiting-xxx" =C2=A0I ha=
ve carried out the update to RT_SiteConfig.pm as usual.=C2=A0 I have restar=
ted RT and I can see the new statuses.=C2=A0 If any user or admin selects a=
status, it saves and reports correctly.=C2=A0 The issue is that we can not=
then change the status from any of the new statuses to an original status.=
=C2=A0i.e. from aw-ext TO stalled.</div><div class=3D"m_754571784972986006=
1gmail_signature"><br></div><div class=3D"m_7545717849729860061gmail_signat=
ure">The new statuses have been added like this:</div><div class=3D"m_75457=
17849729860061gmail_signature"><div class=3D"m_7545717849729860061gmail_sig=
nature"><br></div><div class=3D"m_7545717849729860061gmail_signature"><br><=
/div><div class=3D"m_7545717849729860061gmail_signature">Set(%Lifecycles,</=
div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=
=A0default =3D> {</div><div class=3D"m_7545717849729860061gmail_signatur=
e">=C2=A0 =C2=A0 =C2=A0 =C2=A0 initial =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=3D> [ 'new' ],<br></div></div><div class=3D"m_75457178497298600=
61gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 active =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0=3D> [ 'open', 'aw-ext', 'aw-int', =
'aw-qa', 'stalled' ],<br></div><div class=3D"m_754571784972=
9860061gmail_signature"><br></div><div class=3D"m_7545717849729860061gmail_=
signature"><br></div><div class=3D"m_7545717849729860061gmail_signature">&l=
t;- AND HERE -></div><div class=3D"m_7545717849729860061gmail_signature"=
><br></div><div class=3D"m_7545717849729860061gmail_signature"><br></div><d=
iv class=3D"m_7545717849729860061gmail_signature"><br></div><div class=3D"m=
_7545717849729860061gmail_signature"><div class=3D"m_7545717849729860061gma=
il_signature">=C2=A0# from =C2=A0 =3D> [ to list ],</div><div class=3D"m=
_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 new =C2=A0 =C2=A0 =C2=A0=3D> [qw(open aw-ext aw-int aw-qa stalled re=
solved rejected deleted)],</div><div class=3D"m_7545717849729860061gmail_si=
gnature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 open =C2=A0 =C2=A0 =3D&g=
t; [qw(new aw-ext aw-int aw-qa stalled resolved rejected deleted)],</div><d=
iv class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 stalled =C2=A0=3D> [qw(new open aw-ext aw-int aw-qa re=
jected resolved deleted)],</div><div class=3D"m_7545717849729860061gmail_si=
gnature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 resolved =3D> [qw(new=
open aw-ext aw-int aw-qa stalled rejected deleted)],</div><div class=3D"m_=
7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 rejected =3D> [qw(new open aw-ext aw-int aw-qa stalled resolved dele=
ted)],</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 deleted =C2=A0=3D> [qw(new open aw-ext a=
w-int aw-qa stalled rejected resolved)],</div><div class=3D"m_7545717849729=
860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 aw-ext =C2=
=A0 =3D> [qw(new open aw-int aw-qa stalled rejected resolved)],</div><di=
v class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 aw-int =C2=A0 =3D> [qw(new open aw-ext aw-qa stalled r=
ejected resolved)],</div><div class=3D"m_7545717849729860061gmail_signature=
">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 aw-qa =C2=A0 =C2=A0=3D> [qw(=
new open aw-ext aw-int stalled rejected resolved)],</div><div class=3D"m_75=
45717849729860061gmail_signature"><br></div><div class=3D"m_754571784972986=
0061gmail_signature"><br></div><div class=3D"m_7545717849729860061gmail_sig=
nature"><br></div><div class=3D"m_7545717849729860061gmail_signature"><-=
AND HERE-></div><div class=3D"m_7545717849729860061gmail_signature"><br>=
</div><div class=3D"m_7545717849729860061gmail_signature"><br></div><div cl=
ass=3D"m_7545717849729860061gmail_signature"><br></div><div class=3D"m_7545=
717849729860061gmail_signature"><div class=3D"m_7545717849729860061gmail_si=
gnature">=C2=A0actions =3D> [</div><div class=3D"m_7545717849729860061gm=
ail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'new -> ope=
n' =C2=A0 =C2=A0 =C2=A0=3D> { label =3D> 'Open It', =C2=
=A0update =3D> 'Respond' },</div><div class=3D"m_754571784972986=
0061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'new -&g=
t; resolved' =C2=A0=3D> { label =3D> 'Resolve', =C2=A0upd=
ate =3D> 'Comment' },</div><div class=3D"m_7545717849729860061gm=
ail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'new -> rej=
ected' =C2=A0=3D> { label =3D> 'Reject', =C2=A0 update =
=3D> 'Respond' },</div><div class=3D"m_7545717849729860061gmail_=
signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'new -> deleted=
' =C2=A0 =3D> { label =3D> 'Delete' =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},</div><div =
class=3D"m_7545717849729860061gmail_signature"><br></div><div class=3D"m_75=
45717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
'open -> stalled' =C2=A0=3D> { label =3D> 'Stall'=
, =C2=A0 =C2=A0update =3D> 'Comment' },</div><div class=3D"m_754=
5717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
'open -> resolved' =3D> { label =3D> 'Resolve', =
=C2=A0update =3D> 'Comment' },</div><div class=3D"m_754571784972=
9860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'open=
-> rejected' =3D> { label =3D> 'Reject', =C2=A0 updat=
e =3D> 'Respond' },</div><div class=3D"m_7545717849729860061gmai=
l_signature"><span class=3D"m_7545717849729860061gmail-Apple-tab-span" styl=
e=3D"white-space:pre-wrap"> </span>'open -> aw-ext' =C2=A0 =3D=
> { label =3D> 'AW-ext', =C2=A0 update =3D> 'Comment&#=
39; },</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'open -> aw-int' =C2=A0 =3D> =
{ label =3D> 'AW-int', =C2=A0 update =3D> 'Comment' }=
,</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 'open -> aw-qa' =C2=A0 =C2=A0=3D>=
{ label =3D> 'AW-qa', =C2=A0 =C2=A0update =3D> 'Comment&=
#39; },</div><div class=3D"m_7545717849729860061gmail_signature"><br></div>=
<div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 'aw-ext -> stalled' =C2=A0=3D> { label =
=3D> 'Stall', =C2=A0 =C2=A0update =3D> 'Comment' },</=
div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 'aw-ext -> resolved' =3D> { label =
=3D> 'Resolve', =C2=A0update =3D> 'Comment' },</div><=
div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 'aw-ext -> rejected' =3D> { label =3D> &=
#39;Reject', =C2=A0 update =3D> 'Respond' },</div><div class=
=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 'aw-ext -> aw-int' =C2=A0 =3D> { label =3D> =
9;AW-int', =C2=A0 update =3D> 'Comment' },</div><div class=
=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 'aw-ext -> aw-qa' =C2=A0 =C2=A0=3D> { label =3D>=
; 'AW-qa', =C2=A0 =C2=A0update =3D> 'Comment' },</div><d=
iv class=3D"m_7545717849729860061gmail_signature"><br></div><div class=3D"m=
_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 'aw-int -> stalled' =C2=A0=3D> { label =3D> 'Stall=
', =C2=A0 =C2=A0update =3D> 'Comment' },</div><div class=3D"=
m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 'aw-int -> resolved' =3D> { label =3D> 'Resolve=
', =C2=A0update =3D> 'Comment' },</div><div class=3D"m_75457=
17849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#=
39;aw-int -> rejected' =3D> { label =3D> 'Reject', =C2=
=A0 update =3D> 'Respond' },</div><div class=3D"m_75457178497298=
60061gmail_signature"><span class=3D"m_7545717849729860061gmail-Apple-tab-s=
pan" style=3D"white-space:pre-wrap"> </span>'aw-int -> aw-ext'=
=C2=A0 =3D> { label =3D> 'AW-ext', =C2=A0 update =3D> =
9;Comment' },</div><div class=3D"m_7545717849729860061gmail_signature">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'aw-int -> aw-qa' =C2=
=A0 =C2=A0=3D> { label =3D> 'AW-qa', =C2=A0 =C2=A0update =3D&=
gt; 'Comment' },</div><div class=3D"m_7545717849729860061gmail_sign=
ature"><br></div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'aw-qa -> stalled' =C2=A0=3D=
> { label =3D> 'Stall', =C2=A0 =C2=A0update =3D> 'Comm=
ent' },</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'aw-qa -> resolved' =3D> =
{ label =3D> 'Resolve', =C2=A0update =3D> 'Comment' }=
,</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 'aw-qa -> rejected' =3D> { label =
=3D> 'Reject', =C2=A0 update =3D> 'Respond' },</div><=
div class=3D"m_7545717849729860061gmail_signature"><span class=3D"m_7545717=
849729860061gmail-Apple-tab-span" style=3D"white-space:pre-wrap"> </span>=
'aw-qa -> aw-ext' =C2=A0 =3D> { label =3D> 'AW-ext'=
;, =C2=A0 update =3D> 'Comment' },</div><div class=3D"m_75457178=
49729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '=
aw-qa -> aw-int' =C2=A0 =3D> { label =3D> 'AW-int', =
=C2=A0 update =3D> 'Comment' },</div><div class=3D"m_75457178497=
29860061gmail_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0</d=
iv><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 'stalled -> open' =C2=A0=3D> { label =
=3D> 'Open It' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 },</div><div class=3D"m_7545717849729860061gmai=
l_signature">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'resolved -> =
open' =3D> { label =3D> 'Re-open', =C2=A0update =3D> &=
#39;Comment' },</div><div class=3D"m_7545717849729860061gmail_signature=
">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'rejected -> open' =
=3D> { label =3D> 'Re-open', =C2=A0update =3D> 'Commen=
t' },</div><div class=3D"m_7545717849729860061gmail_signature">=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'deleted -> open' =C2=A0=3D&g=
t; { label =3D> 'Undelete' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0},</div><div class=3D"m_7545717849=
729860061gmail_signature"><br></div><div class=3D"m_7545717849729860061gmai=
l_signature"><br></div><div class=3D"m_7545717849729860061gmail_signature">=
<br></div><div class=3D"m_7545717849729860061gmail_signature">I have *NOT* =
Changed the approvals lifecycle=C2=A0</div></div><div class=3D"m_7545717849=
729860061gmail_signature"><br></div><div class=3D"m_7545717849729860061gmai=
l_signature">Can anyone point me to what I have missed, I know its human er=
ror, I just cant see where!</div><div class=3D"m_7545717849729860061gmail_s=
ignature"><br></div><div class=3D"m_7545717849729860061gmail_signature">Tha=
nks</div><div class=3D"m_7545717849729860061gmail_signature">Ben</div></div=
></div></div></div>
<br>
<p><span><b>T:</b>=C2=A001253 394911</span></p><p><span><b>W:</b>=C2=A0<a h=
ref=3D"http://blackpoolsixth.ac.uk/" target=3D"_blank"><span>blackpoolsixth=
.ac.uk</span></a></span></p><p><span></span></p><p><span>Blackpool Sixth, B=
lackpool Old Road, Blackpool, FY3 7LR</span></p><p><span>This email and any=
attachments are confidential and are intended solely for the use of the in=
dividual to whom it is addressed. If you are not the intended recipient of =
this email and its attachments, you must take no action based upon them, no=
r must you copy or show them to anyone. Please contact the sender if you be=
lieve you have received this email in error.=C2=A0 Emails are not secure an=
d cannot be guaranteed to be free of errors or viruses.=C2=A0 It is your re=
sponsibility to scan emails and attachments for viruses before opening them=
.</span></p><p><span></span><br></p><p>
</p><p><span>Any views or opinions expressed are solely those of the author=
and do not necessarily represent those of The Blackpool Sixth Form College=
.</span></p>
--f403045e6ef0edc95f05487d8ee8--