Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#8720 closed defect (wontfix)

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

Reported by: shariful.islam Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: andrea.tomasini@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'GenerateTestRun': u'Generate Test Run',
 '__FORM_TOKEN': u'c667fed0e295fb5c3b8c630a',
 'pathConfiguration': u'/testcase',
 'testrun_keyword': u'',
 'testrun_selectedmilestone': u'Encryption Core',
 'testrun_selectedtemplates': u'Datasafe',
 'testrun_selectedtestcases': u'testcase',
 'testrun_selectedversion': u'1.0',
 'testrun_users': u'shariful.islam'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

System Information

Trac 0.11.1
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
setuptools 0.6c9
SQLite 3.4.2
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Agilo 0.8.2.0.2-r1872-20090828
Subversion 1.4.4 (r25188)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/testManagementPlugin/testManager.py", line 85, in process_request
    template, data, content_type = pageProvider.process_testmanager_request( req, data )
  File "build/bdist.linux-i686/egg/testManagementPlugin/testRuns.py", line 54, in process_testmanager_request
    success, errorMessage_orQueryURL = self.generateTracTickets( req)
  File "build/bdist.linux-i686/egg/testManagementPlugin/testRuns.py", line 258, in generateTracTickets
    ticket.insert(db=db)
  File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/model.py", line 198, in insert
    listener.ticket_created(self)
  File "/usr/lib/python2.5/site-packages/agilo-0.8.2.0.2_r1872_20090828-py2.5.egg/agilo/charts/chart_cache_invalidator.py", line 43, in ticket_created
    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 (1)

comment:1 by Christian Boos, 11 years ago

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

agilo-0.8.2 sounds a bit old now ;-)

Please upgrade and otherwise report your problem to AgiloForScrum people.

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.