Modify

Opened 6 years ago

Closed 6 years ago

#4220 closed defect (wontfix)

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

Reported by: nagendra.vs@… Owned by: kivsiak
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@… 6 years ago.
Testing.ini file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by anonymous

  • Owner changed from kivsiak to anonymous
  • Status changed from new to assigned

comment:2 Changed 6 years ago by kivsiak

  • Owner changed from anonymous to kivsiak
  • Status changed from assigned to new

comment:3 Changed 6 years ago by kivsiak

  • Status changed from new to assigned

Changed 6 years ago by nagendra.vs@…

Testing.ini file

comment:4 Changed 6 years ago by kivsiak

  • Resolution set to wontfix
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.