On Fri, Oct 09, 2009 at 06:04:48PM -0400, smithj4@bnl.gov via RT wrote:
Show quoted text>
> The Plugin does not prevent no subject ticket creation when using the
> "Quick ticket creation" (aka QuickCreate) box on the main RT home page.
> I tried to create an index.html/BeforeCreate file, similar to how the
> others are made for the SelfService and normal Ticket create, but it
> didn't work. Any ideas how this can be done?
>
The callback that is used for QuickCreate is "Initial" in index.html.
But you have to modify this as there is no way to skip creation from
this callback currently. I just modified this in RT (will be in 3.8.7)
and prepared the callback in RT::Extension::MandatorySubject.
See diffs here:
RT:
http://github.com/bestpractical/rt/commit/c39ee41af11ee3a52a9bd998e6ab5c887edf1bd9
RT::Extension::MandatorySubject:
http://git.home-dn.net/?p=manu/RT-Extension-MandatorySubject.git;a=commitdiff;h=ce04ecd7a76dfc9e02d015de2ce8dfb0ffadd142
There is thought a little problem that if there is no subject, already
entered informations are lost and have to be typed again (under
investifgation).
--
Emmanuel LACOUR - elacour@home-dn.net