#11942 closed defect (worksforme)
using xref for duplicate ticket
Reported by: | shorif2000 | Owned by: | Eli Carter |
---|---|---|---|
Priority: | normal | Component: | AdvancedTicketWorkflowPlugin |
Severity: | normal | Keywords: | xref duplicate |
Cc: | Trac Release: | 1.0 |
Description
I have this installed on trac 1.01, centos 6, python 2.6.
I have option TicketWorkflowOpOwnerComponent
and TicketWorkflowOpXRef
ticked. I want to imlement the duplicate functionality. I have added the following in config file
[ticket] commit_ticket_update_check_perms = true commit_ticket_update_commands.close = commit_ticket_update_commands.refs = <ALL> commit_ticket_update_envelope = [] commit_ticket_update_notify = true default_component = other default_milestone = Create/Update Project default_version = v14 workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerReporter [ticket-workflow] accept = new -> assigned accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY dup = * -> closed dup.name = close dup.operations = set_resolution,xref dup.set_resolution = duplicate dup.xref = Ticket %s has been marked as a duplicate of this ticket. dup.xref_local = Closed as duplicate of %s. leave = * -> * leave.default = 1 leave.operations = leave_status needinfo = * -> needinfo needinfo.name = Need info needinfo.operations = set_owner_to_reporter reassign = new,assigned,reopened -> new reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed -> reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,reopened -> closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY
When i go to modify a ticket and set as duplicate. there is no text box to enter the duplicate reference ticket.
Attachments (0)
Change History (7)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Yes its enabled. below is full config
# cat /opt/html/trac/paradox/conf/trac.ini # -*- coding: utf-8 -*- [announcer] email_enabled = true email_from = trac@domain.com email_from_name = Paradox email_replyto = noreply@domain.com email_sender = SmtpEmailSender email_subject_prefix = __default__ smtp_always_cc = Ramy.Mahmoud@domain.com, support@domain.com smtp_default_domain = domain.com smtp_password = smtp_port = 25 smtp_replyto = no-reply@domain.com smtp_server = hero.uk.domain.com smtp_subject_prefix = __default__ smtp_user = use_public_cc = true use_short_addr = false use_tls = false [changeset] max_diff_files = 0 [components] advancedworkflow.controller.ticketworkflowopownercomponent = enabled advancedworkflow.controller.ticketworkflowopownerfield = disabled advancedworkflow.controller.ticketworkflowopownerprevious = disabled advancedworkflow.controller.ticketworkflowopownerreporter = disabled advancedworkflow.controller.ticketworkflowopresetmilestone = disabled advancedworkflow.controller.ticketworkflowoprunexternal = disabled advancedworkflow.controller.ticketworkflowopstatusprevious = disabled advancedworkflow.controller.ticketworkflowoptriage = disabled advancedworkflow.controller.ticketworkflowopxref = enabled announcer.api.announcementsystem = enabled announcer.api.subscriptionresolver = enabled announcer.distributors.mail.emaildistributor = enabled announcer.distributors.mail.sendmailemailsender = enabled announcer.distributors.mail.smtpemailsender = enabled announcer.email_decorators.announceremaildecorator = enabled announcer.email_decorators.staticemaildecorator = enabled announcer.email_decorators.threadingemaildecorator = enabled announcer.email_decorators.ticketaddlheaderemaildecorator = enabled announcer.email_decorators.ticketsubjectemaildecorator = enabled announcer.email_decorators.wikisubjectemaildecorator = enabled announcer.filters.defaultpermissionfilter = enabled announcer.formatters.ticketformatter = enabled announcer.formatters.wikiformatter = enabled announcer.opt.subscribers.allticketsubscriber = enabled announcer.opt.subscribers.generalwikisubscriber = enabled announcer.opt.subscribers.joinablegroupsubscriber = enabled announcer.opt.subscribers.ticketcomponentownersubscriber = enabled announcer.opt.subscribers.ticketcomponentsubscriber = enabled announcer.opt.subscribers.ticketcustomfieldsubscriber = enabled announcer.opt.subscribers.userchangesubscriber = enabled announcer.opt.subscribers.watchsubscriber = enabled announcer.pref.announcerpreferences = enabled announcer.pref.subscriptionmanagementpanel = enabled announcer.producers.attachmentchangeproducer = enabled announcer.producers.ticketchangeproducer = enabled announcer.producers.wikichangeproducer = enabled announcer.resolvers.defaultdomainemailresolver = enabled announcer.resolvers.sessionemailresolver = enabled announcer.resolvers.specifiedemailresolver = enabled announcer.resolvers.specifiedxmppresolver = enabled announcer.subscribers.carboncopysubscriber = enabled announcer.subscribers.ticketownersubscriber = enabled announcer.subscribers.ticketreportersubscriber = enabled announcer.subscribers.ticketupdatersubscriber = enabled ticketchangesets.* = enabled ticketlog.* = enabled trac.db.mysql_backend.mysqlconnector = disabled trac.db.postgres_backend.postgresqlconnector = disabled tracdragdrop.* = enabled tracduplicates.web_ui = enabled tracopt.mimeview.enscript.enscriptrenderer = enabled tracopt.mimeview.php.phprenderer = enabled tracopt.ticket.clone.ticketclonebutton = enabled tracopt.ticket.commit_updater.committicketreferencemacro = enabled tracopt.ticket.commit_updater.committicketupdater = enabled tracopt.ticket.deleter.ticketdeleter = enabled tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = enabled tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = enabled tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled [header_logo] alt = link = http://intranet/trac/paradox/ src = common/trac_banner.png [logging] log_level = DEBUG log_type = file [notification] always_notify_owner = true always_notify_reporter = true always_notify_updater = true email_enabled = true email_ldap_basedn = ou=Sites,dc=domain,dc=com email_ldap_binddn = cn=ldaplookup,cn=Users,dc=domain,dc=com email_ldap_bindpw = *** email_ldap_port = 389 email_ldap_serveruri = ldap://ldapauth.domain.com email_sender = SmtpEmailSender smtp_always_cc = Ramy.Mahmoud@domain.com, support@domain.com smtp_enabled = true smtp_from = trac@domain.com smtp_from_author = Paradox smtp_from_name = Paradox smtp_password = smtp_port = 25 smtp_replyto = no-reply@domain.com smtp_server = hero.uk.domain.com smtp_subject_prefix = __default__ smtp_user = use_public_cc = true use_short_addr = false use_tls = false [project] descr = Paradox replacement name = Paradox url = http://intranet/sidb [ticket] commit_ticket_update_check_perms = true commit_ticket_update_commands.close = commit_ticket_update_commands.refs = <ALL> commit_ticket_update_envelope = [] commit_ticket_update_notify = true default_component = other default_milestone = Create/Update Project default_version = v14 workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerReporter [ticket-changesets] collapsed = false commands.close = close closed closes fix fixed fixes commands.refs = addresses re references refs see compact = true envelope = hide_when_none = false notify = true ticket_comments = false [ticket-workflow] accept = new -> assigned accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY dup = * -> closed dup.name = close dup.operations = set_resolution,xref dup.set_resolution = duplicate dup.xref = Ticket %s has been marked as a duplicate of this ticket. dup.xref_local = Closed as duplicate of %s. leave = * -> * leave.default = 1 leave.operations = leave_status needinfo = * -> needinfo needinfo.name = Need info needinfo.operations = set_owner_to_reporter reassign = new,assigned,reopened -> new reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed -> reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,reopened -> closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY [ticketlog] log_message_maxlength = 100 log_pattern = \s*#%s\s+.* [trac] base_url = http://intranet/trac/paradox/ check_auth_ip = true default_date_format = iso8601 default_language = default_timezone = metanav = login,logout,settings,help,about repository_dir = /hero/subversion/paradox
comment:3 Changed 10 years ago by
In addition, would you please provide System Information and Installed Plugins from "About Trac" page in your Trac instance?
comment:4 Changed 10 years ago by
see below
System Information
Package | Version |
Trac | 1.0.1
|
Trac | 1.0.1
|
Babel | 0.9.4
|
Genshi | 0.7 (without speedups)
|
mod_python | 3.3.1
|
Pygments | 1.1.1
|
pysqlite | 2.4.1
|
Python | 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
|
Python | 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
|
setuptools | 0.6
|
setuptools | 0.6
|
SQLite | 3.6.20
|
Subversion | 1.6.11 (r934486)
|
jQuery | 1.7.2
|
Installed Plugins
Name | Version | Location |
AdvancedTicketWorkflowPlugin | 0.11dev-r13338 | /usr/lib/python2.6/site-packages/AdvancedTicketWorkflowPlugin-0.11dev_r13338-py2.6.egg
|
TracAnnouncer | 1.0dev-r13984 | /usr/lib/python2.6/site-packages/TracAnnouncer-1.0dev_r13984-py2.6.egg
|
TracDragDrop | 0.12.0.12-r13613 | /usr/lib/python2.6/site-packages/TracDragDrop-0.12.0.12_r13613-py2.6.egg
|
TracTicketChangelogPlugin | 0.2dev-r13960 | /usr/lib/python2.6/site-packages/TracTicketChangelogPlugin-0.2dev_r13960-py2.6.egg
|
Edit: reformatted and removed configurations which is already provided in comment:2.
comment:5 Changed 10 years ago by
You have:
[trac] workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerReporter
However, if you wish to use TicketWorkflowOpOwnerComponent
and TicketWorkflowOpXRef
, you must add those to the workflow
list:
[trac] workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerComponent,TicketWorkflowOpXRef
You have simply copied the example from AdvancedTicketWorkflowPlugin#Example, however note the comment on the page - Add the individual controller to the workflow controller list: ... (The individual controller name is listed in parenthesis after the operation name in the documentation section below.)
comment:6 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Feel free to follow-up if it's not working for you, though as stated elsewhere, the trac:MailingList should be used for support requests before opening a ticket.
comment:7 Changed 10 years ago by
Additional documentation added in wiki:AdvancedTicketWorkflowPlugin@26?action=diff.
Have you enabled the plugin through the plugin admin page? You've opened 5 tickets now claiming plugins don't work. My money is on something wrong or missed in your install steps. Please do a careful read of the TracPlugins page and then ask on the trac:MailingList before opening more tickets for install issues.