id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 11131,TypeError: object of type 'NoneType' has no len(),bill.chen,Chris Nelson,"==== How to Reproduce ==== While doing a POST operation on `/ticket/21`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'__FORM_TOKEN': u'aec6cf6a0f6ab1bb16b6b8f5', 'action': u'leave', 'comment': u'', 'field_blockedby': u'6', 'field_blocking': u'', 'field_cc': u'', 'field_checkbox_billable': u'1', 'field_complete': u'', 'field_component': u'\u8bbe\u7f6e', 'field_description': u'\u521b\u5efa\u8005\u53ef\u4fee\u6539\u5934\u50cf\u3001\u6635\u79f0\u3001\u8eab\u4efd\u3001\u751f\u65e5\u3001\u72b6\u6001\uff1b\u975e\u521b\u5efa\u8005\u8fd8\u53ef\u53d1\u9001\u9080\u8bf7\u3001\u9009\u62e9\u9000\u51fa\u8be5\u5c0f\u5bb6\u3002', 'field_estimatedhours': u'', 'field_hours': u'', 'field_keywords': u'', 'field_milestone': u'\u6700\u5c0f\u53ef\u4e0a\u7ebf\u7248', 'field_parents': u'', 'field_priority': u'major', 'field_reporter': u'trac', 'field_summary': u'\u7f16\u8f91\u4e2a\u4eba\u4fe1\u606f', 'field_type': u'task', 'field_userfinish': u'', 'field_userstart': u'', 'field_version': u'1.0', 'id': u'21', 'replyto': u'', 'start_time': u'1369810004883288', 'submit': u'Submit changes', 'view_time': u'1369810004883288'} }}} User agent: `Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36` ==== System Information ==== || '''`Trac`''' || `1.0` || || '''`Docutils`''' || `0.10` || || '''`Genshi`''' || `0.7 (without speedups)` || || '''`MySQL`''' || `server: ""5.6.10"", client: ""5.6.10"", thread-safe: 1` || || '''`MySQLdb`''' || `1.2.4` || || '''`Python`''' || `2.7.3 (default, Feb 16 2013, 14:25:34) ` [[br]] `[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]` || || '''`setuptools`''' || `0.6c11` || || '''`jQuery`''' || `1.7.2` || ==== Enabled Plugins ==== || '''`timingandestimationplugin`''' || `1.3.7` || || '''`Trac-jsGantt`''' || `0.10-r12998` || || '''`TracAccountManager`''' || `0.4.3` || || '''`TracMasterTickets`''' || `3.0.5dev-r12950` || || '''`TracSubTicketsPlugin`''' || `0.2.0.dev-20130601` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 497, in _dispatch_request dispatcher.dispatch(req) File ""build/bdist.linux-x86_64/egg/trac/web/main.py"", line 214, in dispatch resp = chosen_handler.process_request(req) File ""build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py"", line 179, in process_request return self._process_ticket_request(req) File ""build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py"", line 614, in _process_ticket_request self._do_save(req, ticket, action) File ""build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py"", line 1328, in _do_save replyto=req.args.get('replyto')) File ""build/bdist.linux-x86_64/egg/trac/ticket/model.py"", line 363, in save_changes listener.ticket_changed(self, comment, author, old_values) File ""build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py"", line 2950, in ticket_changed self.rescheduleTickets(ticket, old_values) File ""build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py"", line 2738, in rescheduleTickets ids = self._findAffected(ticket, old_values) File ""build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py"", line 2426, in _findAffected affected |= affectedByOld(old_values) File ""build/bdist.linux-x86_64/egg/tracjsgantt/tracpm.py"", line 2359, in affectedByOld and len(old_values['parents']) != 0: TypeError: object of type 'NoneType' has no len() }}}",defect,closed,normal,TracJsGanttPlugin,normal,fixed,,,