Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10561 closed defect (cantfix)

MissingOrInvalidScopeError: Invalid Sprint name: global

Reported by: manuel.neto Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: 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 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0

System Information

Trac 0.12.2
Trac 0.12.2
Agilo 0.9.6.2
Babel 0.9.6
CustomFieldAdmin 0.2.6
Docutils 0.8
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup trac.atualtec.jorge|)
MySQL server: "5.1.54-1ubuntu4", client: "5.1.54", thread-safe: 1
MySQLdb 1.2.2
Pygments 1.4
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:30:20)
[GCC 4.5.2]
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:30:20)
[GCC 4.5.2]
pytz 2011h
pytz 2011h
RPC 1.1.2
setuptools 0.6c11
setuptools 0.6c11
Subversion 1.6.12 (r955767)
jQuery 1.4.2

Enabled Plugins

agilo 0.9.6.2
AutocompleteUsers 0.4.2
AutoUpgrade 0.1
DiskUsagePlugin 0.2
IniAdmin 0.2
siteupload 0.11
STractistics 0.5.0b
SvnAuthzAdminPlugin 0.1.2.-Moved.to.Trac.0.11-
TicketCreationStatus 0.1
TicketSidebarProvider 0.0
timingandestimationplugin 1.1.6b
TracAccountManager 0.3.1
Tracchildtickets 2.4.4
TracCustomFieldAdmin 0.2.6
TracDateField 1.0.2
TracDragDrop 0.12.0.5
TracMasterTickets 3.0.2
TracReportManager 0.1
TracRevtreePlugin 0.6.4dev
TracUserManagerPlugin 0.4
TracWikiPrintPlugin 1.8.4
TracWysiwyg 0.12.0.3
TracXMLRPC 1.1.2
WorkflowEditorPlugin 1.1.5

Python Traceback

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

comment:1 by Jun Omae, 13 years ago

Resolution: cantfix
Status: newclosed

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.