Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10484 closed defect (cantfix)

MissingOrInvalidScopeError: Invalid Sprint name: global

Reported by: iksnae Owned by:
Priority: normal Milestone:
Component: general Version:
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_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

System Information

Trac 0.12.3dev
Trac 0.12.3dev
Agilo 0.9.2
Babel 0.9.5
Docutils 0.7
FullBlog 0.1.1-r9430
Genshi 0.6
mod_wsgi 2.5 (WSGIProcessGroup trac_https_wsgi 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.0-r9395
setuptools 0.6c12
setuptools 0.6c12
SQLite 3.7.3
Subversion 1.7.1 (r1186859)
jQuery 1.4.4

Enabled Plugins

agilo 0.9.2
BatchModify 0.8.0-trac0.12
customroadmap.webadminui N/A
SecureSession 0.10dev-r1500
TracAnnouncer 0.12.1.dev
TracCustomRoadmap 0.4
TracDownloads 0.3
TracFullBlogPlugin 0.1.1-r9430
TracMarkdownMacro 0.11.1
tracrpc.changeset N/A
TracWysiwyg 0.12.0.3-r9676
TracXMLRPC 1.1.0-r9395

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3dev-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.3dev-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.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.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.2-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 313, in do_get
    backlog = self._get_backlog(req)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.2-py2.5.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.5/site-packages/agilo-0.9.2-py2.5.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.5/site-packages/agilo-0.9.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.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.2-py2.5.egg/agilo/scrum/backlog/controller.py", line 51, in _execute
    scope=self.scope)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.2-py2.5.egg/agilo/scrum/backlog/model.py", line 574, in get
    return super(BacklogModelManager, self).get(**kwargs)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.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.2-py2.5.egg/agilo/scrum/backlog/model.py", line 170, in __init__
    self._check_scope_is_valid(scope)
  File "/usr/local/lib/python2.5/site-packages/agilo-0.9.2-py2.5.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 (3)

comment:1 by Remy Blank, 13 years ago

Cc: support@… added

comment:2 by Remy Blank, 13 years ago

Resolution: cantfix
Status: newclosed

comment:3 by stefano.rago@…, 13 years ago

@rblank: thanks for the cc!

@iksnae: we have already filed the bug here: 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.