Opened 12 years ago

Last modified 7 years ago

#9664 new enhancement

Support for agilo tickets

Reported by: chense Owned by:
Priority: normal Component: WorkLogPlugin
Severity: normal Keywords: Agilo for trac
Cc: Trac Release: 0.12


Agilo for Trac defines its own ticket system (while disabling built in ticket API), and when trying to start/stop work for an Agilo ticket, I get AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

I think this is similar to

So, what can be done to fix this cleanly, rather than using Agilo ticket objects?

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by chense


  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/", line 513, in _dispatch_request
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/worklog-0.2-py2.6.egg/worklog/", line 147, in process_request
    if not mgr.stop_work(stoptime, comment):
  File "/usr/local/lib/python2.6/dist-packages/worklog-0.2-py2.6.egg/worklog/", line 223, in stop_work
    self.save_ticket(tckt, message)
  File "/usr/local/lib/python2.6/dist-packages/worklog-0.2-py2.6.egg/worklog/", line 77, in save_ticket
    tckt.save_changes(self.authname, msg, nowdt, None, cnum+1)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/ticket/", line 353, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.5_PRO-py2.6.egg/agilo/scrum/burndown/", line 70, in ticket_changed
    current_sprint_name = self._current_sprint_name(ticket)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.5_PRO-py2.6.egg/agilo/scrum/burndown/", line 120, in _current_sprint_name
    return self._current_value(Key.SPRINT, ticket) or None
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.5_PRO-py2.6.egg/agilo/scrum/burndown/", line 129, in _current_value
    if not ticket.is_writeable_field(fieldname) or not ticket[fieldname]:
AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: Colin Guthrie deleted

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

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

Note: See TracTickets for help on using tickets.