Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8589 closed defect (wontfix)

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

Reported by: j_van_rooij@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords: deleting milestone in demo
Cc: andrea.tomasini@… 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'fe9b8f3f5af4192191cec340',
 'cat_id': u'ticket',
 'panel_id': u'milestones',
 'path_info': None,
 'remove': u'Remove selected items',
 'sel': u'milestone1'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)

System Information

Trac 0.11.5
Python 2.4.4 (#1, Oct 22 2008, 19:49:52)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c3
SQLite 3.3.8
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.2.10
Agilo 1.0-PRO
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/admin/web_ui.py", line 114, in process_request
    path_info)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/ticket/admin.py", line 44, in render_admin_panel
    return self._render_admin_panel(req, cat, page, version)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/ticket/admin.py", line 230, in _render_admin_panel
    mil.delete(db=db, author=req.authname)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/ticket/model.py", line 675, in delete
    now, db=db)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/ticket/model.py", line 296, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.0_PRO-py2.4.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 (3)

comment:1 by Christian Boos, 15 years ago

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

AgiloForTrac issue.

comment:2 by Christian Boos, 15 years ago

AgiloForScrum I meant ;-)

comment:3 by Christian Boos, 15 years ago

(Andrea, don't hesitate to fix the AgiloForScrum page to your liking; in particular I was not sure if you prefer direct bug reports to your Trac or if they should first be filtered through your user mailing list)

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.