Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10393 closed defect (cantfix)

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

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

Description

Hi

Am getting this error when i change status of a ticket. Also when am reassigning the ticket tickets status changes to closed. Plz help

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'feb1140ec8bfa18c668449f4',
 'batchmod_modify_changetime': u'true',
 'batchmod_send_notifications': u'true',
 'batchmod_submit': u'Change tickets',
 'batchmod_value_comment': u'fds',
 'batchmod_value_status': u'reopened',
 'query_href': u'/projects/Poker/query?status=&status=accepted&status=assigned&status=closed&status=new&status=partially_sized&status=reopened&status=sized&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&report=10&order=priority',
 'selectedTickets': u'74'}

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

System Information

Trac 0.11.7
Python 2.4.3 (#1, Sep 21 2011, 19:55:41)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]
setuptools 0.6c12
MySQL server: "5.1.56-community-log", client: "5.0.67", thread-safe: 1
MySQLdb 1.2.1
Genshi 0.6
mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup 172.30.2.6|/projects)
Agilo 1.3.4-PRO
Subversion 1.6.11 (r934486)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 176, in dispatch
    chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 296, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/BatchModify-0.8.0_trac0.11-py2.5.egg/batchmod/web_ui.py", line 70, in pre_process_request
  File "/usr/lib/python2.4/site-packages/BatchModify-0.8.0_trac0.11-py2.5.egg/batchmod/web_ui.py", line 157, in process_request
  File "/usr/lib/python2.4/site-packages/BatchModify-0.8.0_trac0.11-py2.5.egg/batchmod/web_ui.py", line 210, in _save_ticket_changes
  File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 449, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "/usr/lib/python2.4/site-packages/binary_agilo-1.3.4_PRO-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/binary_agilo-1.3.4_PRO-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/binary_agilo-1.3.4_PRO-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 (3)

comment:1 by Jun Omae, 13 years ago

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

PluginIssue. Looks like th:BatchModifyPlugin is not compatible with AgiloForScrum.

comment:2 by anonymous, 13 years ago

@jomae: thanks for the cc Yes, many users that reported this error were using BatchModifyPlugin and Agilo at the same time.

comment:3 by trac.edgewall.org@…, 13 years ago

Dup of https://trac-hacks.org/ticket/9236 . I'm looking at it.

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.