Subject: | bug-RT-Extension-MandatoryOnTransition@rt.cpan.org |
Date: | Tue, 30 Aug 2016 09:56:19 +0000 |
To: | "bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org" <bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org> |
From: | Воронов Петр Леонидович <p.voronov [...] Multiflex.ru> |
I'm getting this error while opening new ticket:
Can't use string ("CF.TicketType") as an ARRAY ref while "strict refs" in use at /opt/rt4/local/plugins/RT-Extension-MandatoryOnTransition/lib/RT/Extension/MandatoryOnTransition.pm line 287.#012#012Stack:#012 [/opt/rt4/local/plugins/RT-Extension-MandatoryOnTransition/lib/RT/Extension/MandatoryOnTransition.pm:287]#012 [/opt/rt4/local/plugins/RT-Extension-MandatoryOnTransition/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked:5]#012 [/opt/rt4/share/html/Ticket/Update.html:127]#012 [/opt/rt4/share/html/Widgets/TitleBox:56]#012 [/opt/rt4/share/html/Ticket/Update.html:132]#012 [/opt/rt4/share/html/Ticket/autohandler:66]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]#012 [/opt/rt4/share/html/autohandler:53]
My CF TicketType has about 70 entries list.
That's the conditions:
Set( %MandatoryOnTransition,
'*' => {
'* -> open' => 'CF.TicketType',
},
);
Regards,
Pete