Subject: | Plugin not working after initial install |
Date: | Thu, 15 Jan 2015 15:24:32 +0000 |
To: | <bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org> |
From: | <marek.kreul [...] dlh.de> |
I'm running RT 4.2.9 with RT3.2.0, and already made different customizations to my incident lifecycles.
The following states exist for tickets in queue "incidents":
initial => [],
active => ['open', 'pending'],
inactive => ['resolved', 'archived', 'closed'],
I've now installed RT::Extension::MandatoryOnTransition, inserted it in RT_SiteConfig.pm's "Plugins" directive, and configured as follows:
Set( %MandatoryOnTransition,
incidents => {
'* -> closed' => ['TimeWorked', 'CF.Resolution', 'CF.Classification', 'CF.Customer'],
},
'*' => {
'* -> closed' => ['Content', 'CF.Classification'],
},
);
Now, when I open an incident, perform some comments and then place it into "closed" status, nothing new happens.
The "comment"/"reply to all" dialogue box contains some of the fields (Resolution, (Time)Worked), but they aren't enforced.
Does MandatoryOnTransition somehow collide with RTIR, or is there any other explanation for this behavior?
Thanks!
Marek