Modify ↓
Opened 12 years ago
Closed 12 years ago
#10778 closed defect (cantfix)
Not able to create new milestone: OperationalError: no such table: field_mapping
Reported by: | amita_lele | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /admin/ticket/milestones
, Trac issued an internal error.
Not able to create new milestone.
Request parameters:
{'__FORM_TOKEN': u'a992f004831fa3781cb78992', 'add': u'Add', 'cat_id': u'ticket', 'component': [u'ALL', u'ACE', u'ACF2', u'ACS', u'ADK', u'ADK - AgentCfg', u'ADK 64 - CertTool', u'AIX', u'AIX - Pwd synch', u'AS400 FTP', u'Adapter', u'AgentFramework', u'BuildForge', u'CCM', u'CMVC', u'Clarify', u'Cognos', u'DPRA', u'Dispatcher', u'Documentum', u'Entrust PKI', u'Groupwise', u'HP NIS', u'HPUX', u'IAT', u'IATJ', u'IDI Custom Adapter', u'ITDI Adapters', u'ITIM Server 5.1', u'ITIM server', u'ITIM server 4.5', u'ITIM server 4.6', u'ITIM server 5.0', u'ITIMx', u'Induction', u'Informix', u'LDAP IDI', u'LDAPX (ADK)', u'Linux', u'Misc', u'NDS', u'Notes', u'Oracle', u'Oracle IDI', u'Oracle eBS', u'OracleERP', u'Org. activities', u'PMDB', u'Peoplesoft', u'Posix Aix Group Adapter', u'QuickPlace', u'RACF', u'RCQ TDI adapter', u'RTC TDI Adapter', u'RaPM', u'Remedy', u'RsaAuthMgr', u'SAP', u'SQL Server', u'Siebel JDB', u'Siebel WebServices', u'Solaris', u'Solaris NIS', u'Sybase', u'TPOSM', u'TopSecret', u'Tracking', u'Training', u'Tru64', u'UDB DB2', u'UPA', u'UnixLinux', u'VIOS', u'W2K Agent', u'WinAD', u'WinLocal', u'Windows Pwd Synch', u'enroleagent', u'i5/OS', u'i5OS Pwd Sync', u'zLinux'], 'duedate': u'12/31/2012', 'name': u'Adapter tasks new', 'panel_id': u'milestones', 'path_info': None, 'startdate': u'07/01/2012'}
User Agent was: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
System Information
Trac | 0.11.2.1
|
Python | 2.6.5 (r265:79063, Apr 16 2010, 13:28:26) [GCC 4.4.3]
|
setuptools | 0.6
|
SQLite | 3.7.3
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
Pygments | 1.2.2
|
RPC | 1.0.6
|
FullBlog | 0.1.1
|
jQuery: | 1.3.2
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/web/main.py", line 455, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/web/main.py", line 227, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/admin/web_ui.py", line 116, in process_request path_info) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/ticket/admin.py", line 47, in render_admin_panel return self._render_admin_panel(req, cat, page, version) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/ticket/admin.py", line 363, in _render_admin_panel update_component_mapping(req.args.get('component', []), name) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/ticket/admin.py", line 188, in update_component_mapping field_map = model.FieldMapping(self.env,'milestone','component',name) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/ticket/model.py", line 1097, in __init__ "WHERE fromfield='%s' AND tofield='%s' AND fromval='%s'"%(fromfield,tofield,fromval)) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/db/sqlite_backend.py", line 58, in execute args or []) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.2.1-py2.6.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: no such table: field_mapping
Attachments (0)
Note:
See TracTickets
for help on using tickets.
There's no table named
field_mapping
in Trac core, so this is a PluginIssue.