Subject: | Mandatory timeworked does not work for me |
Date: | Thu, 14 May 2015 18:07:35 +0300 |
To: | bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org |
From: | Max Kosmach <max [...] tcen.ru> |
Hi
I add for my test queue
'* -> resolved' => [ 'TimeWorked', 'CF.test', ],
If Timeworked empty I can't set status to 'resolved' and this is ok
But if fill Time Worked filed ad Modify.html page I can't set status to resolved too.
I see the same "TimeWorked is required when changing Status to resolved".
After some digging I see in Ticket/ModifyAll.html/Default and Ticket/Modify.html/Default
$RT::Extension::MandatoryOnTransition::CORE_FOR_UPDATE{TimeWorked} = "TimeWorked";
Maybe it should be
$RT::Extension::MandatoryOnTransition::CORE_FOR_UPDATE{TimeWorked} = "UpdateTimeWorked";
--
With best wishes
Max