Modify

Opened 8 years ago

Closed 8 years ago

#4220 closed defect (wontfix)

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

Reported by: nagendra.vs@… Owned by: Vladimir Abramov
Priority: normal Component: TypedTicketWorkflowPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

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

Python 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
  • filename '/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py'
  • File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197,
  • File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 170.
  • File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 517.
  • File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 1203, in _insert_ticket_data
  • File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/api.py", line 168, in get_available_actions
  • File "build/bdist.linux-i686/egg/typedworkflow/controller.py", line 12, in get_ticket_actions
  • File "build/bdist.linux-i686/egg/typedworkflow/controller.py", line 24, in filter_actions

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 "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 170, in process_request

return self._process_ticket_request(req)

File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 517, in _process_ticket_request

get_reporter_id(req, 'author'), field_changes)

File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/web_ui.py", line 1203, in _insert_ticket_data

ticket)

File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/ticket/api.py", line 168, in get_available_actions

weighted_actions = controller.get_ticket_actions(req, ticket)

File "build/bdist.linux-i686/egg/typedworkflow/controller.py", line 12, in get_ticket_actionsFile "build/bdist.linux-i686/egg/typedworkflow/controller.py", line 24, in filter_actions

Attachments (1)

testing.ini (1.9 KB) - added by nagendra.vs@… 8 years ago.
Testing.ini file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 years ago by anonymous

Owner: changed from Vladimir Abramov to anonymous
Status: newassigned

comment:2 Changed 8 years ago by Vladimir Abramov

Owner: changed from anonymous to Vladimir Abramov
Status: assignednew

comment:3 Changed 8 years ago by Vladimir Abramov

Status: newassigned

Changed 8 years ago by nagendra.vs@…

Attachment: testing.ini added

Testing.ini file

comment:4 Changed 8 years ago by Vladimir Abramov

Resolution: wontfix
Status: assignedclosed

Sorry but this module requires 0.11.2.x version. There was minor changes in Ticket model

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Vladimir Abramov.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.