Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#10584 closed defect (cantfix)

DataError: integer out of range

Reported by: astro 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 POST operation on /admin/ticket/milestones/milestone1, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'ad934ed47be5e8f8ed6b1a73',
 'cat_id': u'ticket',
 'description': u'',
 'duedate': u'4.3.2012 22:00:00',
 'name': u'milestone1',
 'panel_id': u'milestones',
 'path_info': u'milestone1',
 'save': u'Save'}

User agent: Opera/9.80 (X11; Linux x86_64; U; uk) Presto/2.10.229 Version/11.61

System Information

Trac 0.12.2
Babel 0.9.6
Genshi 0.6
mod_wsgi 2.8 (WSGIProcessGroup WSGIApplicationGroup dns-port.evernet.lutsk.ua|)
psycopg2 2.4
Python 2.7.1 (r271:86832, May 26 2011, 12:51:02)
[GCC 4.2.1 20070719 [FreeBSD]]
pytz 2011c
setuptools 0.6c11
Subversion 1.6.16 (r1073529)
jQuery 1.4.2

Enabled Plugins

TracAccountManager 0.3.2
TracBurndown 1.9.2
TracDoxygen 0.11.0.2-r10461

Python Traceback

Traceback (most recent call last):
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/admin/web_ui.py", line 116, in process_request
    path_info)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/ticket/admin.py", line 53, in render_admin_panel
    return self._render_admin_panel(req, cat, page, version)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/ticket/admin.py", line 274, in _render_admin_panel
    mil.update()
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/ticket/model.py", line 1008, in update
    @self.env.with_transaction(db)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/db/api.py", line 77, in transaction_wrapper
    fn(ldb)
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/ticket/model.py", line 1018, in do_update
    self.description, old_name))
  File "build/bdist.freebsd-8.2-RELEASE-p1-i386/egg/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
DataError: integer out of range

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 12 years ago

Keywords: needinfo added

Can this be reproduced?

If so, please activate the [trac] debug_sql setting, increase the log_level to DEBUG and have a look at the debug logging information spit out just before the "crash".

comment:2 by Ryan J Ollos <ryano@…>, 12 years ago

Resolution: worksforme
Status: newclosed

Closing ticket per policy of closing tickets that don't have a response for a few months, described at TracTicketTriage#Howtohelp.

comment:3 by Jun Omae, 7 years ago

Keywords: needinfo removed
Resolution: worksformecantfix

A duplicate of #12883. This is caused by th:ScrumBurndownPlugin which replaces with milestone table with integer fields at th:source:scrumburndownplugin/tags/1.9.1/burndown/dbhelper.py#L15.

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.