Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8660 closed defect (wontfix)

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

Reported by: admin Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: andrea.tomasini@…, felix.schwarz@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/ticket/milestones, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'fdcad1d5fbcff079abf3dbd8',
 'cat_id': u'ticket',
 'default': u'asfasfdasf',
 'panel_id': u'milestones',
 'path_info': None,
 'remove': u'Remove selected items',
 'sel': u'asfasfdasf'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14

System Information

Trac 0.11.5
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
Agilo 1.0.2-pro
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Program Files\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "z:\my documents\agilo installer\agilo\lib\site-packages\Trac-0.11.5-py2.5.egg\trac\admin\web_ui.py", line 114, in process_request
  File "z:\my documents\agilo installer\agilo\lib\site-packages\Trac-0.11.5-py2.5.egg\trac\ticket\admin.py", line 44, in render_admin_panel
  File "z:\my documents\agilo installer\agilo\lib\site-packages\Trac-0.11.5-py2.5.egg\trac\ticket\admin.py", line 230, in _render_admin_panel
  File "z:\my documents\agilo installer\agilo\lib\site-packages\Trac-0.11.5-py2.5.egg\trac\ticket\model.py", line 675, in delete
  File "z:\my documents\agilo installer\agilo\lib\site-packages\Trac-0.11.5-py2.5.egg\trac\ticket\model.py", line 296, in save_changes
  File "C:\Program Files\Agilo\lib\site-packages\binary_agilo-1.0.2_pro-py2.5.egg\agilo\charts\chart_cache_invalidator.py", line 54, in ticket_changed
    if ticket[Key.SPRINT] or ticket.is_writeable_field(Key.REMAINING_TIME):
AttributeError: 'Ticket' object has no attribute 'is_writeable_field'

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 15 years ago

Cc: andrea.tomasini@… added
Resolution: wontfix
Status: newclosed

AgiloForScrum issue.

comment:2 by Felix Schwarz <felix.schwarz@…>, 15 years ago

Cc: felix.schwarz@… added

Sorry about that - I fixed it just yesterday: https://dev.agile42.com/ticket/872

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.