Opened 11 years ago

Last modified 11 years ago

#10898 new defect

TicketSubmitPolicy not firing — at Version 3

Reported by: phooper0001@… Owned by: obs
Priority: high Component: TicketSubmitPolicyPlugin
Severity: critical Keywords: ticketsubmitpolicy
Cc: sue.sml2006@… Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I wonder if you could help me out.

I've installed and configured the ticket submit policy plugin ( confirmed in admin console; trac.ini contains config ; server restarted ) that you wrote, but it never fires. There are no relevant logs in the trac.log file and no errors ? Trac simply seems not to be parsing the config and acting upon it.

Snippets from trac.ini:

ticketsubmitpolicy.policies.ticketexcludes =  enabled
ticketsubmitpolicy.policies.ticketrequires = enabled
ticketsubmitpolicy.ticketsubmitpolicy.ticketsubmitpolicyplugin =  enabled

[ticket-submit-policy]
epic_tickets.condition = type is EPIC
epic_tickets.requires = summary, reporter, owner, description

There's really no point in sending you the trac.log as there's nothing relevant in there, however this is the content of the notification email, which clearly shows that the owner and description fields are NULL, where the ticket-submit-policy configuration required them to be present.

epic_tickets.requires = summary, reporter, owner, description

Notification email:

#29: TicketSubmitPoplicy is not firing
new EPIC
---------------------------------------------------------------------
Summary: TicketSubmitPoplicy is not firing
Reporter: hooper_p
Owner: (None)
Description: (None)
Type: EPIC
Status: new
Milestone: Backlog
Resolution: (None)
Keywords: (None)
Cc: (None)
Created: 2013-03-01 10:08:00.420726+00:00
Modified: 2013-03-01 10:08:00.420726+00:00
Due Date: 30.03.2013
Parent: (None)
Detected By: (None)
Assigned To: (None)
Component: cdbcore
Detected in sprint: (None)
Device Category: Mobile Handset
Device Name: HTC ONE
Device Operating System: Android 4.0.3
Browser Vendor: Google
Browser Name: Chrome
Browser Version: 10
Test Type: (None)
Trunk Allowed: 1
Added to build: (None)
Priority: (None)
Steps to reproduce the defect: (None)

Really hope you are able to shed some light on this - I've been to the forums, created tickets etc, but am going nowhere fast !

Thanks

Paul

Change History (3)

comment:1 Changed 11 years ago by anonymous

And the plugin loads without issue :

2013-03-01 10:21:28,078 Trac[loader] DEBUG: Loading ticketsubmitpolicy from /tdev15/scm/trac/env/cdbtest/plugins/TicketSubmitPolicy-0.8.1-py2.6.egg

comment:2 Changed 11 years ago by anonymous

Cc: sue.sml2006@… added

comment:3 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.