Modify ↓
#12827 closed defect (cantfix)
AttributeError: 'Ticket' object has no attribute 'is_writeable_field'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.0.1 |
Severity: | normal | Keywords: | |
Cc: | support@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /batchmodify
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'bf1a06fd067b2622452b1637', 'action': u'accept', 'action_reassign_reassign_owner': u'jairo.ramos', 'action_resolve_resolve_resolution': u'fixed', 'batchmod_submit': u'Change tickets', 'batchmod_value_comment': u'batch modify ', 'batchmod_value_milestone': u'3. Spring 2', 'query_href': u'/trac/alrajhi.sme/query?owner=jairo.ramos&status=accepted&status=assigned&status=new&status=reopened&milestone=3.+Spring+2&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority', 'selected_tickets': u'26,27,28,29,30'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
System Information
Trac | 1.0.1
|
Agilo | 1.3.13-PRO
|
Agilo | 1.3.13-PRO
|
Babel | 0.9.6
|
Genshi | 0.6 (with speedups)
|
mod_python | 3.3.1
|
pysqlite | 2.6.0
|
Python | 2.7.3 (default, Mar 13 2014, 11:26:58) [GCC 4.7.2]
|
setuptools | 0.6
|
SQLite | 3.7.13
|
Subversion | 1.6.17 (r1128011)
|
jQuery | 1.7.2
|
Enabled Plugins
AccountLDAP | 0.32
|
AutocompleteUsers | 0.4.2dev
|
binary-agilo | 1.3.13-PRO
|
DefaultCc | 0.3dev
|
graphviz | 1.0.0.7dev
|
ImportExportXLS | 0.1.9
|
IniAdmin | 0.3
|
LDAPAuthNZPlugin | 1.0
|
TicketImport | 0.8.3
|
timingandestimationplugin | 1.3.7
|
TracAccountManager | 0.4.4
|
TracCustomFieldAdmin | 0.2.8
|
TracPermRedirect | 3.0
|
TracSVNAuthz | 0.11.1.1
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/batch.py", line 62, in process_request new_values, comment, action) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/batch.py", line 167, in _save_ticket_changes t.save_changes(req.authname, comment, when=when) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/model.py", line 365, in save_changes listener.ticket_changed(self, comment, author, old_values) File "/var/www/trac/alrajhi.sme/plugins/binary_agilo-1.3.13_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 112, in ticket_changed self._process_value_changed(ticket, comment, author, old_values, Key.REMAINING_TIME) File "/var/www/trac/alrajhi.sme/plugins/binary_agilo-1.3.13_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 67, in _process_value_changed current_sprint_name = self._current_sprint_name(ticket) File "/var/www/trac/alrajhi.sme/plugins/binary_agilo-1.3.13_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 144, in _current_sprint_name return self._current_value(Key.SPRINT, ticket) or None File "/var/www/trac/alrajhi.sme/plugins/binary_agilo-1.3.13_PRO-py2.7.egg/agilo/scrum/burndown/changelistener.py", line 153, 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)
Note:
See TracTickets
for help on using tickets.
PluginIssue: AgiloForScrum.