Skip Menu |

This queue is for tickets about the RT-Extension-MandatorySubject CPAN distribution.

Report information
The Basics
Id: 50374
Status: resolved
Priority: 0/
Queue: RT-Extension-MandatorySubject

People
Owner: Nobody in particular
Requestors: smithj4 [...] bnl.gov
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



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? ~Jason
Subject: Re: [rt.cpan.org #50374]
Date: Sat, 21 Nov 2009 01:00:10 +0100
To: "smithj4 [...] bnl.gov via RT" <bug-RT-Extension-MandatorySubject [...] rt.cpan.org>
From: Emmanuel Lacour <elacour [...] home-dn.net>
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
Fixed in 0.04, soon available on CPAN