Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10985 closed defect (cantfix)

MissingOrInvalidScopeError: Invalid Sprint name: global

Reported by: dgkmurthy@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.3
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 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

System Information

Trac 0.12.3
Trac 0.12.3
Agilo 0.9.6.2
Babel 0.9.5
Docutils 0.7
Genshi 0.6
mod_wsgi 2.5 (WSGIProcessGroup trac_wsgi_04 WSGIApplicationGroup %{GLOBAL})
Pygments 1.4dev-20110115
pysqlite 2.4.1
Python 2.5.2 (r252:60911, Jan 24 2010, 18:02:01)
[GCC 4.3.2]
Python 2.5.2 (r252:60911, Jan 24 2010, 18:02:01)
[GCC 4.3.2]
pytz 2008c
pytz 2008c
RPC 1.1.2
setuptools 0.6c12
setuptools 0.6c12
SQLite 3.7.3
Subversion 1.7.5 (r1336830)
jQuery 1.4.4

Enabled Plugins

agilo 0.9.6.2
SecureSession 0.10dev-r1500
TracAnnouncer 0.12.1.dev
TracDiscussion 0.8-r9877
tracrpc.changeset N/A
TracTags 0.6
TracWysiwyg 0.12.0.3-r9676
TracXMLRPC 1.1.2

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 315, in do_get
    backlog = self._get_backlog(req)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 240, in _get_backlog
    return BacklogJSONView(self.env)._get_backlog(name=name, scope=scope)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/json_ui.py", line 50, in _get_backlog
    backlog = BacklogController(self.env).process_command(cmd_get)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/controller.py", line 361, in process_command
    return command.execute(self, date_converter, as_key)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/controller.py", line 315, in execute
    return self._execute(controller, date_converter, as_key)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/controller.py", line 57, in _execute
    scope=self.scope)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/model.py", line 632, in get
    return super(BacklogModelManager, self).get(**kwargs)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/core/model.py", line 1128, in get
    m = self.model(self.env, **kwargs)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/model.py", line 176, in __init__
    self._check_scope_is_valid(scope)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/model.py", line 191, 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, 12 years ago

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

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

@jomae: thanks for the cc @reporter: please write to 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.