Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11151 closed defect (cantfix)

AttributeError: 'FieldsWrapper' object has no attribute 'by_name'

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

Description

How to Reproduce

While doing a GET operation on /newticket, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'type': u'Task'}

User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31

System Information

Trac 1.1.2dev-r11779
Agilo 0.9.9
Genshi 0.6 (with speedups)
MySQL server: "5.1.66-0+squeeze1", client: "5.1.66", thread-safe: 1
MySQLdb 1.2.2
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
setuptools 0.6
jQuery 1.8.3

Enabled Plugins

agilo 0.9.9

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/ticket/web_ui.py", line 186, in process_request
    return self._process_newticket_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/ticket/web_ui.py", line 467, in _process_newticket_request
    self._populate(req, ticket, plain_fields)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/ticket/web_ui.py", line 808, in _populate
    ticket.populate(fields)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/ticket/model.py", line 216, in populate
    self[name] = values[name]
  File "/usr/local/lib/python2.6/dist-packages/agilo-0.9.9-py2.6.egg/agilo/ticket/model.py", line 827, in __setitem__
    super(AgiloTicket, self).__setitem__(attr, value)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.1.2dev_r11779-py2.6.egg/trac/ticket/model.py", line 195, in __setitem__
    if self.fields.by_name(name, {}).get('type') != 'textarea':
AttributeError: 'FieldsWrapper' object has no attribute 'by_name'

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 9 years ago

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

PluginIssue (AgiloForScrum). Also, a duplicate of #11001.

comment:2 by stefano.rago@…, 9 years ago

@jomae: thanks a lot for the CC @reporter: please contact us at support@…

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.