Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10297 closed defect (cantfix)

MissingOrInvalidScopeError: Invalid Sprint name: global

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

Description

How to Reproduce

While doing a GET operation on /backlog/Sprint Backlog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'name': u'Sprint Backlog', 'scope': None, 'view': u'View'}

User agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7

System Information

Trac 0.12
Agilo 1.3.4-PRO
Babel 0.9.4
Docutils 0.6
Genshi 0.6
mod_wsgi 2.8 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.1.41-3ubuntu12.10", client: "5.1.41", thread-safe: 1
MySQLdb 1.2.2
Pygments 1.2.2
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)
[GCC 4.4.3]
pytz 2010b
setuptools 0.6
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

binary-agilo 1.3.4-PRO
TracAccountManager 0.4dev-r10524
TracGit 0.12.0.5dev

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/api/view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/web_ui.py", line 313, in do_get
    backlog = self._get_backlog(req)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/web_ui.py", line 238, in _get_backlog
    return BacklogJSONView(self.env)._get_backlog(name=name, scope=scope)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/json_ui.py", line 49, in _get_backlog
    backlog = BacklogController(self.env).process_command(cmd_get)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/api/controller.py", line 361, in process_command
    return command.execute(self, date_converter, as_key)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/api/controller.py", line 315, in execute
    return self._execute(controller, date_converter, as_key)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/controller.py", line 56, in _execute
    scope=self.scope)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/model.py", line 571, in get
    return super(BacklogModelManager, self).get(**kwargs)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/core/model.py", line 1128, in get
    m = self.model(self.env, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/model.py", line 170, in __init__
    self._check_scope_is_valid(scope)
  File "/usr/local/lib/python2.6/dist-packages/binary_agilo-1.3.4_PRO-py2.6.egg/agilo/scrum/backlog/model.py", line 185, in _check_scope_is_valid
    raise MissingOrInvalidScopeError("Invalid Sprint name: %s" % scope)
MissingOrInvalidScopeError: Invalid Sprint name: global

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 13 years ago

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

comment:2 by anonymous, 13 years ago

@jomae: thanks for the cc

There is a ticket for this already: https://dev.agile42.com/ticket/1112

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.