Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10003 closed defect (cantfix)

AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

Reported by: aanichin Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.1
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /hours/67, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'fd47a8a22fa4a11454183912',
 'addhours': u'Add Hours',
 'comments': u'Implemented some of the methods.',
 'day': u'31',
 'hours': u'2',
 'minutes': u'0',
 'month': u'1',
 'worker': u'aanichin',
 'year': u'2011'}

User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

System Information

Trac 0.12.1
Agilo 1.3.2-PRO
Genshi 0.6
pysqlite 2.3.2
Python 2.5.2 (r252:60911, Nov 14 2008, 20:05:29)
[GCC 4.3.2]
setuptools 0.6c12
SQLite 3.5.9
Subversion 1.5.1 (r32289)
jQuery 1.4.2

Enabled Plugins

binary-agilo 1.3.2-PRO
ComponentDependencyPlugin 0.1
IniAdmin 0.2
TicketSidebarProvider 0.0
TracAccountManager 0.2.1dev-r7731
TracHoursPlugin 0.5.2
TracWysiwyg 0.12.0.3-r9676

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/TracHoursPlugin-0.5.2-py2.5.egg/trachours/hours.py", line 239, in process_request
    return self.process_ticket(req)
  File "/usr/lib/python2.5/site-packages/TracHoursPlugin-0.5.2-py2.5.egg/trachours/hours.py", line 864, in process_ticket
    return self.do_ticket_change(req, ticket)
  File "/usr/lib/python2.5/site-packages/TracHoursPlugin-0.5.2-py2.5.egg/trachours/hours.py", line 1074, in do_ticket_change
    ticket.save_changes(logged_in_user, comment)
  File "build/bdist.linux-i686/egg/trac/ticket/model.py", line 360, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/lib/python2.5/site-packages/binary_agilo-1.3.2_PRO-py2.5.egg/agilo/scrum/burndown/changelistener.py", line 69, in ticket_changed
    current_sprint_name = self._current_sprint_name(ticket)
  File "/usr/lib/python2.5/site-packages/binary_agilo-1.3.2_PRO-py2.5.egg/agilo/scrum/burndown/changelistener.py", line 119, in _current_sprint_name
    return self._current_value(Key.SPRINT, ticket) or None
  File "/usr/lib/python2.5/site-packages/binary_agilo-1.3.2_PRO-py2.5.egg/agilo/scrum/burndown/changelistener.py", line 128, in _current_value
    if not ticket.is_writeable_field(fieldname) or not ticket[fieldname]:
AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 13 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

comment:2 by Martin Häcker <martin.haecker@…>, 13 years ago

@reporter: This sounds like an incompatibility with one of the other plugins you have installed, try disabling them one by one to find out which is the culprit. For further discussion to resolve this issue, please join our support google group (for details see AgiloForScrum).

@jomae: thanks for wrangling!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.