Edgewall Software

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10161 closed defect (cantfix)

MissingOrInvalidScopeError: Invalid Sprint name: Preparation for Beta.

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


How to Reproduce

Create sprint which ends with dot(.)

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

(please provide additional details here)

Request parameters:

{'name': u'Sprint Backlog', 'scope': u'Preparation for Beta'}

User agent: #USER_AGENT#

System Information

Trac 0.12
Agilo 1.3.3-pro
FullBlog 0.1.1-r9430
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
pysqlite 2.4.1
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
RPC 1.1.0-r9395
setuptools 0.6c11
SQLite 3.5.9
Subversion 1.6.6 (r40053)
jQuery #JQUERY#

Enabled Plugins

binary-agilo 1.3.3-pro
iniadmin 0.2
moviemacro 0.1
tracaccountmanager 0.3dev-r9591
tracdownloads 0.3
tracfullblogplugin 0.1.1-r9430
trachttpauth 1.1
tracpermredirect 2.0
tracxmlrpc 1.1.0-r9395

Python Traceback

Traceback (most recent call last):
  File "c:\users\andy\appdata\local\temp\easy_install-aq4yqu\Trac-0.12-py2.6-win32.egg.tmp\trac\web\main.py", line 513, in _dispatch_request
  File "c:\users\andy\appdata\local\temp\easy_install-aq4yqu\Trac-0.12-py2.6-win32.egg.tmp\trac\web\main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\api\view.py", line 155, in process_request
    return self._call_filters_and_handler(req, handler)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\api\view.py", line 143, in _call_filters_and_handler
    data = handler(req) or {}
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\scrum\backlog\web_ui.py", line 313, in do_get
    backlog = self._get_backlog(req)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_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 "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\scrum\backlog\json_ui.py", line 49, in _get_backlog
    backlog = BacklogController(self.env).process_command(cmd_get)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\api\controller.py", line 361, in process_command
    return command.execute(self, date_converter, as_key)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\api\controller.py", line 315, in execute
    return self._execute(controller, date_converter, as_key)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\scrum\backlog\controller.py", line 56, in _execute
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\scrum\backlog\model.py", line 571, in get
    return super(BacklogModelManager, self).get(**kwargs)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\core\model.py", line 1128, in get
    m = self.model(self.env, **kwargs)
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_pro-py2.6.egg\agilo\scrum\backlog\model.py", line 170, in __init__
  File "C:\Python26\lib\site-packages\binary_agilo-1.3.3_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: Preparation for Beta

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 12 years ago

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

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

@rblank: thanks for the cc @espen: We were not able to reproduce this issue, so please consider discussing it further in our mailing list and reporting new bugs there first (http://groups.google.com/group/agilo).

Modify Ticket

Change Properties
Set your email in Preferences
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.