Modify

Opened 10 years ago

Closed 3 months ago

#1380 closed defect (wontfix)

Cannot change tickets

Reported by: marcus.franke@… Owned by:
Priority: normal Component: TracForgePlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

When I try to change a ticket I get this error message:

Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 279, in process_request

self._do_save(req, db, ticket)

File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 546, in _do_save

cnum=internal_cnum):

File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 262, in save_changes

listener.ticket_changed(self, comment, author, old_values)

TypeError: ticket_changed() takes exactly 4 arguments (5 given)

Active Plugins in my setup: *TracForgePlugin *Webadmin *XMLRPC (both)

I installed a trac-environment with just the webadmin and the XMLRPC plugins, as they are globally installed on my box and I can change all tickets without a problem.

After this test I installed the TracForge Plugin into the fresh environment and kapowwww there it is again.

My global trac.ini:

[tracforge] master_path = /var/www/trac/common

[components] tracrpc.* = enabled webadmin.* = enabled trac.web.auth.loginmodule = disabled tracforge.admin.perm.* = enabled tracforge.linker.auth.* = enabled tracpygments.* = enabled

Attachments (1)

trac.ini (2.3 KB) - added by marcus.franke@… 10 years ago.
trac.ini of my test-site

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by marcus.franke@…

trac.ini of my test-site

comment:1 Changed 10 years ago by marcus.franke@…

Well, I just changed the permission_store property to TracForgePermissionModule, but it did not change the tickets being useful.

comment:2 Changed 10 years ago by coderanger

Looks like the ITicketChangeListener API changed sometime between 0.10 and now. For now just turn off the ticket subscription system in all environments:

tracforge.subscription.ticket.* = disabled

comment:3 Changed 20 months ago by rjollos

  • Owner coderanger deleted

comment:4 Changed 3 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Plugin is deprecated.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.