Opened 3 years ago

Last modified 3 years ago

#18872 new defect

ValueError: invalid literal for int() with base 10: 'weasel'

Reported by: High586 Owned by: qbi
Priority: Medium Milestone:
Component: Internal Services/Service - trac Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

How to Reproduce

While doing a POST operation on /ticket/4, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'1bade5a249f9368eee6f5ced',
 'action': u'leave',
 'comment': u'',
 'field_actualpoints': u'',
 'field_component': u'Mixminion-Client',
 'field_keywords': u'',
 'field_milestone': u'',
 'field_parent': u'weasel',
 'field_points': u'',
 'field_priority': u'Low',
 'field_reviewer': u'',
 'field_severity': u'Normal',
 'field_sponsor': u'',
 'field_summary': u'Incorrect node routing with mbox',
 'field_type': u'defect',
 'field_version': u'0.0.4',
 'id': u'4',
 'preview': u'Preview',
 'replyto': u'',
 'sfp_email': u'',
 'sfph_mail': u'',
 'start_time': u'1100419869000000',
 'view_time': u'1100419869000000'}

User agent: #USER_AGENT#

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 179, in process_request
    return self._process_ticket_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 610, in _process_ticket_request
    valid = self._validate_ticket(req, ticket, not valid) and valid
  File "/usr/lib/python2.7/dist-packages/trac/ticket/web_ui.py", line 1278, in _validate_ticket
    for field, message in manipulator.validate_ticket(req, ticket):
  File "build/bdist.linux-x86_64/egg/childtickets/childtickets.py", line 68, in validate_ticket
    pid = int(ticket.values.get('parent').lstrip('#'))
ValueError: invalid literal for int() with base 10: 'weasel'

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by cypherpunks

Component: - Select a componentInternal Services/Service - trac
Owner: set to qbi
Note: See TracTickets for help on using tickets.