Modify

Opened 8 years ago

Closed 7 years ago

#12635 closed defect (fixed)

BacklogException: Failed to retrieve backlog with name=Product and Community

Reported by: zhaoyunlai Owned by: Ryan J Ollos
Priority: normal Component: BacklogPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

How to Reproduce

While doing a POST operation on /ticket/7, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{u'__FORM_TOKEN': u'0fe0b07ef3844d50664b6082',
 u'action': u'reopen',
 u'comment': u'',
 u'field_backlog': u'Product and Community',
 u'field_cc': u'',
 u'field_component': u'trac',
 u'field_description': u'\u7ba1\u7406\u5458 list \u4f18\u5316\r\n\r\nhttps://trac-hacks.org/wiki/AdminEnumListPlugin',
 u'field_hard_deadline1': u'',
 u'field_hard_deadline2': u'',
 u'field_keywords': u'',
 u'field_priority': u'major\uff08\u4e3b\u8981\uff09',
 u'field_reporter': u'admin',
 u'field_summary': u'List\u63d2\u4ef6',
 u'field_type': u'\u7528\u6237\u4f53\u9a8c\uff08UX\uff09',
 'id': u'7',
 u'replyto': u'',
 u'start_time': u'1453270687498590',
 u'submit': u'\u63d0\u4ea4\u53d8\u66f4',
 u'view_time': u'1453270687498590'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0

System Information

Trac 1.0.9
Babel 2.2.0
Docutils 0.11
Genshi 0.7 (without speedups)
MySQL server: "5.5.5-10.0.23-MariaDB", client: "5.3.12-MariaDB", thread-safe: 1
MySQLdb 1.2.5
Pygments 2.0.2
Python 2.7.10 (default, Dec 10 2015, 11:17:23)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)]
pytz 2015.7
setuptools 19.4
jQuery 1.7.2
jQuery UI 1.8.21
jQuery Timepicker 1.0.1

Enabled Plugins

BacklogPlugin 0.2dev-r0
Cards 1.2
FlexibleReporterNotification 0.1
SimpleMultiProject 0.5.1.dev0
TicketTeamDispatcher 0.3dev-r0
TracAccountManager 0.5.dev0
TracAdminEnumListPlugin 2.0
TracAttachmentNotifyPlugin 1.0.1
TracAutocompleteUsersPlugin 0.4.3dev-r0
Tracchildtickets 2.5.4.dev0
TracPermRedirect 3.0
TracProjectMenu 2.0dev-r0
TracTeamRosterPlugin 0.1
TracUserManagerPlugin 0.5.dev0

Python Traceback

Traceback (most recent call last):
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
    dispatcher.dispatch(req)
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/web/main.py", line 247, in dispatch
    resp = chosen_handler.process_request(req)
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 182, in process_request
    return self._process_ticket_request(req)
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 625, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 1357, in _do_save
    replyto=req.args.get('replyto'))
  File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/trac/ticket/model.py", line 369, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File "build\bdist.win32\egg\backlog\ticketchangelistener.py", line 49, in ticket_changed
    Backlog(self.env, name=backlog_name).reset_priority(ticket.id, only_if_deleted=True)
  File "build\bdist.win32\egg\backlog\model.py", line 38, in __init__
    self._fetch_by_name(name)
  File "build\bdist.win32\egg\backlog\model.py", line 109, in _fetch_by_name
    raise BacklogException("Failed to retrieve backlog with name=%s" % name)
BacklogException: Failed to retrieve backlog with name=Product and Community

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Ryan J Ollos

The plugin isn't in good shape. There is a notice on the BacklogPlugin page that warns against using it. Eventually I hope to work on it, or a new similar plugin, but that won't happen soon.

comment:2 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Please try again following changes in #13274.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.