Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10695 closed defect (cantfix)

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

Reported by: federico@… Owned by:
Priority: normal Milestone:
Component: admin/web Version: 0.11.7
Severity: major Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'471088ea35bde8a99e9bbc42',
 'batchmod': u'Change tickets',
 'bmod_flag_owner': u'on',
 'bmod_value_owner': u'norberto.planchart@globant.com',
 'col': [u'id', u'summary', u'status', u'type', u'milestone', u'sprint'],
 'group': u'owner',
 'selectedTickets': u'40,63,64,65,66,67,68,69,70,72'}

User Agent was: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19

System Information

Trac 0.11.7
Python 2.4.3 (#1, Jan 21 2009, 01:10:13)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 2.3.3
Genshi 0.5.1
mod_wsgi 2.5 (WSGIProcessGroup trac WSGIApplicationGroup %{GLOBAL})
Pygments 1.0
Agilo 0.9.3
Subversion 1.6.2 (r37639)
RPC 1.0.6
FullBlog 0.1.1-r0
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 176, in dispatch
    chosen_handler)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 296, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "build/bdist.linux-i686/egg/batchmod/web_ui.py", line 37, in pre_process_request
  File "build/bdist.linux-i686/egg/batchmod/web_ui.py", line 75, in _batch_modify
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ticket/model.py", line 299, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/lib/python2.4/site-packages/agilo-0.9.3-py2.4.egg/agilo/scrum/burndown/changelistener.py", line 69, in ticket_changed
    current_sprint_name = self._current_sprint_name(ticket)
  File "/usr/lib/python2.4/site-packages/agilo-0.9.3-py2.4.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.4/site-packages/agilo-0.9.3-py2.4.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 Remy Blank, 13 years ago

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

in reply to:  1 comment:2 by stefano.rago@…, 13 years ago

@rblank: thanks for the cc @federico: update Agilo to the latest version, or write to support@…

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.